summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
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;