summaryrefslogtreecommitdiffstats
path: root/qmake/generators
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-05-27 14:31:57 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-05-27 16:03:08 (GMT)
commitc86bb735e9b783b03010bc830c2a7a2fbcdb71b7 (patch)
tree16571a2e935d2a536eebdd90d84dbf21c9ab5f9c /qmake/generators
parentc3d652967c313cdc1853e9d905440ddf645c49f4 (diff)
downloadQt-c86bb735e9b783b03010bc830c2a7a2fbcdb71b7.zip
Qt-c86bb735e9b783b03010bc830c2a7a2fbcdb71b7.tar.gz
Qt-c86bb735e9b783b03010bc830c2a7a2fbcdb71b7.tar.bz2
escape backslashes in QMAKE_PRL_LIBS
they may contain (absolute) windows paths, which need escaping now. Reviewed-by: mauricek
Diffstat (limited to 'qmake/generators')
-rw-r--r--qmake/generators/makefile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 4c4f5bc..d6b3e09 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -972,7 +972,7 @@ MakefileGenerator::writePrlFile(QTextStream &t)
libs << "QMAKE_LIBS_PRIVATE";
t << "QMAKE_PRL_LIBS = ";
for(QStringList::Iterator it = libs.begin(); it != libs.end(); ++it)
- t << project->values((*it)).join(" ") << " ";
+ t << project->values((*it)).join(" ").replace('\\', "\\\\") << " ";
t << endl;
}
}