path: root/mkspecs
diff options
authorOswald Buddenhagen <>2013-11-20 15:14:52 +0100
committerThe Qt Project <>2013-12-04 17:18:46 +0100
commit53f48a4ba2a527735fd67968a211052a8eda00dc (patch)
treef7d8dbe18e03204bb698e11b9b4469acd8fa1024 /mkspecs
parent39baff5847e23cbfdc86055b98dcced55342908a (diff)
properly replace windows paths in installed meta files
it's bogus in the first place that the meta files contain windows paths, but straightening that out is a prohibitive effort. so instead generate additional s/// commands which take care of these paths. fwiw, the generated s///i command is a gnu extension. but as we are doing this on windows only where we are using our built-in sed command anyway, this should be fine. Task-number: QTBUG-33794 Change-Id: I46fcc598db12816ee56b5371ab184f6277eb3a22 Reviewed-by: Joerg Bornemann <>
Diffstat (limited to 'mkspecs')
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
index 5068f7028f..84882ccbc2 100644
--- a/mkspecs/features/qt_module.prf
+++ b/mkspecs/features/qt_module.prf
@@ -146,8 +146,10 @@ unix|win32-g++* {
include_replace.match = $$rplbase/include
include_replace.replace = $$[QT_INSTALL_HEADERS/raw]
+ include_replace.CONFIG = path
lib_replace.match = $$rplbase/lib
lib_replace.replace = $$QMAKE_PKGCONFIG_LIBDIR
+ lib_replace.CONFIG = path
QMAKE_PKGCONFIG_INSTALL_REPLACE += include_replace lib_replace
QMAKE_PRL_INSTALL_REPLACE += include_replace lib_replace