summaryrefslogtreecommitdiffstats
path: root/tools/configure/configureapp.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-07-14 09:55:27 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-07-14 10:49:27 (GMT)
commit74d0482c1690211a20bdfc996aa0ad30fdb9bb28 (patch)
tree21fea8832b16c2a0cfab6f694908ba6a99057631 /tools/configure/configureapp.cpp
parentb7f55ac9c1c6b87083c9dca3b5cbca211fdecaef (diff)
downloadQt-74d0482c1690211a20bdfc996aa0ad30fdb9bb28.zip
Qt-74d0482c1690211a20bdfc996aa0ad30fdb9bb28.tar.gz
Qt-74d0482c1690211a20bdfc996aa0ad30fdb9bb28.tar.bz2
fix qconfig.h aliased header creation
don't have configure create the forwarding headers (or symlinks on unix) for qconfig.h, but instead have syncqt create forwarding headers for not yet existing files. Reviewed-by: joerg
Diffstat (limited to 'tools/configure/configureapp.cpp')
-rw-r--r--tools/configure/configureapp.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index d3dec3c..7f2d53b 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -3164,16 +3164,6 @@ void Configure::generateConfigfiles()
QFile::remove(outName);
tmpFile.copy(outName);
tmpFile.close();
-
- if (!QFile::exists(buildPath + "/include/QtCore/qconfig.h")) {
- if (!writeToFile("#include \"../../src/corelib/global/qconfig.h\"\n",
- buildPath + "/include/QtCore/qconfig.h")
- || !writeToFile("#include \"../../src/corelib/global/qconfig.h\"\n",
- buildPath + "/include/Qt/qconfig.h")) {
- dictionary["DONE"] = "error";
- return;
- }
- }
}
// Copy configured mkspec to default directory, but remove the old one first, if there is any