summaryrefslogtreecommitdiffstats
path: root/qmake/project.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-15 18:26:07 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-26 13:29:15 (GMT)
commit4c097589a30a6062e5e2a011a5cc11422352def9 (patch)
tree53778528168184d50637325f09bb55804b4bdb79 /qmake/project.cpp
parent6b3502bb096a35e6bd882fb505f98e3e64e9be30 (diff)
downloadQt-4c097589a30a6062e5e2a011a5cc11422352def9.zip
Qt-4c097589a30a6062e5e2a011a5cc11422352def9.tar.gz
Qt-4c097589a30a6062e5e2a011a5cc11422352def9.tar.bz2
use QDir::separator() instead of Option::dir_sep where appropriate
in these cases, the separator depends on the *real* host platform, not on the one that will host the build. there are many more cases like that, but that's for (much) later ... Reviewed-by: mariusSO
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r--qmake/project.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index ba0db66..c6caa4f 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -620,7 +620,7 @@ QStringList qmake_feature_paths(QMakeProperty *prop=0)
feature_roots += splitPathList(prop->value("QMAKEFEATURES"));
if(!Option::mkfile::cachefile.isEmpty()) {
QString path;
- int last_slash = Option::mkfile::cachefile.lastIndexOf(Option::dir_sep);
+ int last_slash = Option::mkfile::cachefile.lastIndexOf(QDir::separator());
if(last_slash != -1)
path = Option::fixPathToLocalOS(Option::mkfile::cachefile.left(last_slash));
for(QStringList::Iterator concat_it = concat.begin();