summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorGuoqing Zhang <guoqing.zhang@nokia.com>2011-03-09 11:49:35 (GMT)
committerGuoqing Zhang <guoqing.zhang@nokia.com>2011-03-09 11:49:35 (GMT)
commit3d946b24834973816b4f472828c03bc07b10b3ac (patch)
tree36ab6a5c6d14cdd32caf5c29c2797718da0ffb6d /qmake
parentddeee0dc7d9c2bfd4ad4e2f71497f1135446051a (diff)
downloadQt-3d946b24834973816b4f472828c03bc07b10b3ac.zip
Qt-3d946b24834973816b4f472828c03bc07b10b3ac.tar.gz
Qt-3d946b24834973816b4f472828c03bc07b10b3ac.tar.bz2
Adding quote around files in QMAKE_CLEAN to tackle wildcard issue
Task-number: QTPROD-875 Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/symbian/symmake_sbsv2.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qmake/generators/symbian/symmake_sbsv2.cpp b/qmake/generators/symbian/symmake_sbsv2.cpp
index f94a63f..0fdef86 100644
--- a/qmake/generators/symbian/symmake_sbsv2.cpp
+++ b/qmake/generators/symbian/symmake_sbsv2.cpp
@@ -727,7 +727,10 @@ void SymbianSbsv2MakefileGenerator::writeBldInfExtensionRulesPart(QTextStream& t
QStringList absoluteCleanFiles;
foreach (QString cleanFile, cleanFiles) {
QFileInfo fi(cleanFile);
- absoluteCleanFiles << fi.absoluteFilePath();
+ QString fileName = QLatin1String("\"");
+ fileName.append(fi.absoluteFilePath());
+ fileName.append(QLatin1String("\""));
+ absoluteCleanFiles << fileName;
}
t << "START EXTENSION qt/qmake_clean" << endl;
t << "OPTION CLEAN_FILES " << absoluteCleanFiles.join(" ") << endl;