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, 4 insertions, 1 deletions
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index 1f44650227..c00fdb73f8 100644
--- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf
@@ -291,7 +291,10 @@ defineReplace(pkgConfigExecutable) {
}
}
- PKG_CONFIG += 2> $$QMAKE_NULL_DEVICE
+ equals(QMAKE_HOST.os, Windows): \
+ PKG_CONFIG += 2> NUL
+ else: \
+ PKG_CONFIG += 2> /dev/null
return($$PKG_CONFIG)
}