summaryrefslogtreecommitdiffstats
path: root/tools/configure/configureapp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/configure/configureapp.cpp')
-rw-r--r--tools/configure/configureapp.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index 153be04ee6..fc33922f5b 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -3211,11 +3211,6 @@ void Configure::generateConfigfiles()
tmpFile.close();
}
- QString spec = dictionary.contains("XQMAKESPEC") ? dictionary["XQMAKESPEC"] : dictionary["QMAKESPEC"];
- if (!copySpec("default", "", spec)
- || !copySpec("default-host", "host ", dictionary["QMAKESPEC"]))
- return;
-
QTemporaryFile tmpFile3;
if (tmpFile3.open()) {
tmpStream.setDevice(&tmpFile3);
@@ -3635,6 +3630,15 @@ void Configure::buildQmake()
confStream.flush();
confFile.close();
}
+
+ //create default mkspecs
+ QString spec = dictionary.contains("XQMAKESPEC") ? dictionary["XQMAKESPEC"] : dictionary["QMAKESPEC"];
+ if (!copySpec("default", "", spec)
+ || !copySpec("default-host", "host ", dictionary["QMAKESPEC"])) {
+ cout << "Error installing default mkspecs" << endl << endl;
+ exit(EXIT_FAILURE);
+ }
+
}
#endif