At least some of that information is available as macros defined in QtGlobal and via QSysInfo.