From 3c05a0f3e7cad3ef4738eb11df4d427c8dbc13e8 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 9 Oct 2012 14:47:46 +0200 Subject: [PATCH] qmake: fix .pc install target dir separators on windows Task-number: QTBUG-26455 Change-Id: I578345b1676d0d2e812e0ab2e48468b4a8013ee9 Reviewed-by: Miikka Heikkinen Reviewed-by: Joerg Bornemann --- qmake/generators/win32/winmakefile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmake/generators/win32/winmakefile.cpp b/qmake/generators/win32/winmakefile.cpp index c925a433e4..33179abbd2 100644 --- a/qmake/generators/win32/winmakefile.cpp +++ b/qmake/generators/win32/winmakefile.cpp @@ -807,7 +807,7 @@ QString Win32MakefileGenerator::defaultInstall(const QString &t) QString dst_pc = pkgConfigFileName(false); if (!dst_pc.isEmpty()) { dst_pc = filePrefixRoot(root, targetdir + dst_pc); - const QString dst_pc_dir = fileInfo(dst_pc).path(); + const QString dst_pc_dir = Option::fixPathToTargetOS(fileInfo(dst_pc).path(), false); if (!dst_pc_dir.isEmpty()) { if (!ret.isEmpty()) ret += "\n\t";