From 0fae8b50f7c37fad7f93845495199891d6191291 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 18 Sep 2012 12:20:03 +0200 Subject: simplify forwarding include() statement in default specs Change-Id: Ie584491a5f0355ef3f4457d9b4b9734e6e8fdc47 Reviewed-by: Joerg Bornemann --- tools/configure/configureapp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 7b9f2a3216..0c26bd4226 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -3011,7 +3011,7 @@ bool Configure::copySpec(const char *name, const char *pfx, const QString &spec) fileStream.setDevice(&qfile); QString srcSpec = buildPath + "/mkspecs/" + spec; // We copied it to the build dir fileStream << "QMAKESPEC_ORIGINAL = " << formatPath(srcSpec) << endl; - fileStream << "include(" << formatPath(QDir(defSpec).relativeFilePath(srcSpec + "/qmake.conf")) << ")" << endl; + fileStream << "include($$QMAKESPEC_ORIGINAL/qmake.conf)" << endl; qfile.close(); } if (qfile.error() != QFile::NoError) { -- cgit v1.2.3