summaryrefslogtreecommitdiff
path: root/qmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-05-10 17:42:02 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-05-14 13:45:36 +0200
commitd36be1232e4f11cf5dc121bb60c628970b88ac2a (patch)
tree81f6af5613de052d1b441b67b14c7db26d8200f0 /qmake
parentf31461a35ae3d749c2d5445659ed55dad93e3b43 (diff)
downloadqt4-tools-d36be1232e4f11cf5dc121bb60c628970b88ac2a.tar.gz
fix path separators in install targets for MinGW+sh
Reviewed-by: ossi
Diffstat (limited to 'qmake')
-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 db2737bd5f..d949b639ee 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -1237,7 +1237,7 @@ MakefileGenerator::writeInstalls(QTextStream &t, const QString &installs, bool n
target += "\n";
do_default = false;
for(QStringList::Iterator wild_it = tmp.begin(); wild_it != tmp.end(); ++wild_it) {
- QString wild = Option::fixPathToLocalOS((*wild_it), false, false);
+ QString wild = Option::fixPathToTargetOS((*wild_it), false, false);
QString dirstr = qmake_getpwd(), filestr = wild;
int slsh = filestr.lastIndexOf(Option::dir_sep);
if(slsh != -1) {