diff options
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/qt_functions.prf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf index 2998bb93ae..ac3bdaca96 100644 --- a/mkspecs/features/qt_functions.prf +++ b/mkspecs/features/qt_functions.prf @@ -280,10 +280,11 @@ defineReplace(pkgConfigExecutable) { } defineTest(packagesExist) { + contains(QT_CONFIG, no-pkg-config):return(false) + # this can't be done in global scope here because qt_functions is loaded # before the .pro is parsed, so if the .pro set PKG_CONFIG, we wouldn't know it # yet. oops. - pkg_config = $$pkgConfigExecutable() for(package, ARGS) { |