diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-11-04 20:18:14 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-11-04 20:18:14 +0100 |
commit | 4159ee840549df11287294f0928e90f35f3e06ff (patch) | |
tree | 4a3947e37d54bdb78b4042e9ced20dbf181b5a2c /tools/configure | |
parent | 59dbf1786f22ec4ac88d8f9d38cac5cfb82acaea (diff) | |
parent | c8c39ecc37c156ac2677de09a26548dfc274b564 (diff) |
Merge remote-tracking branch 'origin/5.6' into dev
Conflicts:
config.tests/unix/ptrsize.test
configure
src/corelib/global/qnamespace.h
src/network/socket/qabstractsocket.cpp
tests/auto/other/networkselftest/networkselftest.pro
Change-Id: Ic78abb4a34f9068567cea876861d4220f5a07672
Diffstat (limited to 'tools/configure')
-rw-r--r-- | tools/configure/configureapp.cpp | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index bdfaeda052..d2f5547804 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -166,7 +166,7 @@ Configure::Configure(int& argc, char** argv) : verbose(0) dictionary[ "CETEST" ] = "auto"; dictionary[ "CE_SIGNATURE" ] = "no"; dictionary[ "AUDIO_BACKEND" ] = "auto"; - dictionary[ "WMF_BACKEND" ] = "auto"; + dictionary[ "WMF_BACKEND" ] = "no"; dictionary[ "WMSDK" ] = "auto"; dictionary[ "QML_DEBUG" ] = "yes"; dictionary[ "PLUGIN_MANIFESTS" ] = "no"; @@ -2611,11 +2611,6 @@ void Configure::autoDetection() i.value() = defaultTo(i.key()); } - if (tryCompileProject("unix/ptrsize")) - dictionary["QT_POINTER_SIZE"] = "8"; - else - dictionary["QT_POINTER_SIZE"] = "4"; - cout << "Done running configuration tests." << endl; } @@ -3180,7 +3175,7 @@ void Configure::generateOutputVars() void Configure::generateCachefile() { - // Generate qmodule.pri + // Generate qmodule.pri, which is loaded only by Qt modules { FileWriter moduleStream(buildPath + "/mkspecs/qmodule.pri"); @@ -3250,6 +3245,8 @@ void Configure::generateCachefile() moduleStream << " largefile"; if (dictionary[ "STRIP" ] == "no") moduleStream << " nostrip"; + if (dictionary[ "LTCG" ] == "yes") + moduleStream << " ltcg"; moduleStream << endl; for (QStringList::Iterator var = qmakeVars.begin(); var != qmakeVars.end(); ++var) @@ -3537,8 +3534,6 @@ void Configure::generateQConfigPri() if (dictionary["STATIC_RUNTIME"] == "yes") configStream << " static_runtime"; - if (dictionary[ "LTCG" ] == "yes") - configStream << " ltcg"; if (dictionary[ "RTTI" ] == "yes") configStream << " rtti"; if (dictionary["INCREDIBUILD_XGE"] == "yes") @@ -3804,8 +3799,6 @@ void Configure::generateConfigfiles() if (dictionary["REDUCE_RELOCATIONS"] == "yes") qconfigList += "QT_REDUCE_RELOCATIONS"; if (dictionary["QT_GETIFADDRS"] == "no") qconfigList += "QT_NO_GETIFADDRS"; - qconfigList += QString("QT_POINTER_SIZE=%1").arg(dictionary["QT_POINTER_SIZE"]); - qconfigList.sort(); for (int i = 0; i < qconfigList.count(); ++i) tmpStream << addDefine(qconfigList.at(i)); |