From 1ec8df439a1b3d82c6f4d443c22fc9bb00566d1e Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 6 Mar 2014 12:58:21 -0800 Subject: Add QSysInfo::cpuArchitecture() and fullCpuArchitecture() This uses the same logic as the config.test, so we will return the same string as the $$QT_ARCH variable in qmake for cpuArchitecture(). fullCpuArchitecture() is meant to be used in upgrade mechanisms, when combined with the OS type. Change-Id: If0dfee9eff75a07fa4c0778d204e0e768bf43074 Reviewed-by: Kai Koehne Reviewed-by: Oswald Buddenhagen --- src/corelib/global/global.pri | 1 + 1 file changed, 1 insertion(+) (limited to 'src/corelib/global/global.pri') diff --git a/src/corelib/global/global.pri b/src/corelib/global/global.pri index 308ba03bd7..fb0e7fd708 100644 --- a/src/corelib/global/global.pri +++ b/src/corelib/global/global.pri @@ -20,6 +20,7 @@ HEADERS += \ global/qhooks_p.h SOURCES += \ + global/archdetect.cpp \ global/qglobal.cpp \ global/qglobalstatic.cpp \ global/qlibraryinfo.cpp \ -- cgit v1.2.3