summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-01-30 20:14:29 +0100
committerQt by Nokia <qt-info@nokia.com>2012-07-03 16:48:33 +0200
commit43663bc87daed85a3da7f2cfcbea26a5f1ead8dd (patch)
treefecdd2d7e0dbe89b8e5da4cbd82134248b29a14a /tools
parent0002464b46f3b42218933377d545e49fef65aa51 (diff)
export QMAKESPEC to the project
this makes it unnecessary to dump qmakespec to .qmake.cache and qmodule.pri. Task-number: QTBUG-22700 Change-Id: I678c7ee7df2512184b9cd06d7a3be8bbd0b0da15 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/configure/configureapp.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index a192f8aa75..26160976bb 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -2674,19 +2674,6 @@ void Configure::generateCachefile()
moduleStream << "QT_SOURCE_TREE = " << formatPath(dictionary["QT_SOURCE_TREE"]) << endl;
moduleStream << "QT_BUILD_PARTS = " << buildParts.join(" ") << endl << endl;
- QString hostSpec = dictionary[ "QMAKESPEC" ];
- QString targetSpec = dictionary.contains("XQMAKESPEC") ? dictionary[ "XQMAKESPEC" ] : hostSpec;
- QString xmkspec_path = sourcePath + "/mkspecs/" + targetSpec;
- if (QFile::exists(xmkspec_path))
- moduleStream << "XQMAKESPEC = " << xmkspec_path << endl;
- else
- moduleStream << "XQMAKESPEC = " << targetSpec << endl;
- QString mkspec_path = sourcePath + "/mkspecs/" + hostSpec;
- if (QFile::exists(mkspec_path))
- moduleStream << "QMAKESPEC = " << mkspec_path << endl;
- else
- moduleStream << "QMAKESPEC = " << hostSpec << endl;
-
if (dictionary["QT_EDITION"] != "QT_EDITION_OPENSOURCE")
moduleStream << "DEFINES *= QT_EDITION=QT_EDITION_DESKTOP" << endl;