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.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index f9782e0920..650ede7474 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -999,21 +999,6 @@ void Configure::buildQmake()
void Configure::configure()
{
- static const char * const files[] = { "qmodule", "qconfig" };
-
- for (int i = 0; i < 2; i++) {
- QFile file(buildPath + "/mkspecs/" + files[i] + ".pri");
- QString oldfn = file.fileName() + ".old";
- if (file.exists() && !QFileInfo::exists(oldfn))
- QFile::rename(file.fileName(), oldfn);
- if (!file.open(QFile::WriteOnly | QFile::Text)) {
- cout << "Failed to create file " << qPrintable(file.fileName()) << endl;
- dictionary[ "DONE" ] = "error";
- return;
- }
- file.close();
- }
-
FileWriter ci(buildPath + "/config.tests/configure.cfg");
ci << "# Feature defaults set by configure command line\n"
<< "config.input.qt_edition = " << dictionary["EDITION"] << "\n"
@@ -1034,19 +1019,6 @@ void Configure::configure()
cout << "Qmake failed, return code " << exitCode << endl << endl;
dictionary[ "DONE" ] = "error";
}
-
- for (int i = 0; i < 2; i++) {
- QFile file(buildPath + "/mkspecs/" + files[i] + ".pri");
- QFile oldFile(file.fileName() + ".old");
- if (oldFile.open(QIODevice::ReadOnly | QIODevice::Text)
- && file.open(QIODevice::ReadOnly | QIODevice::Text)
- && oldFile.readAll() == file.readAll()) {
- file.remove();
- oldFile.rename(file.fileName());
- } else {
- oldFile.remove();
- }
- }
}
void Configure::generateMakefiles()