summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_functions.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/qt_functions.prf')
-rw-r--r--mkspecs/features/qt_functions.prf5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index f055be72a8..c8d151ce4d 100644
--- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf
@@ -303,6 +303,11 @@ defineReplace(pkgConfigExecutable) {
}
}
+ equals(QMAKE_HOST.os, Windows): \
+ PKG_CONFIG += 2> NUL
+ else: \
+ PKG_CONFIG += 2> /dev/null
+
return($$PKG_CONFIG)
}