diff --git a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake index 95564e0599..9c5a2633d2 100644 --- a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake +++ b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake @@ -66,7 +66,7 @@ function(qt_build_internals_disable_pkg_config_if_needed) # only be found via FooConfig.cmake files which means /usr/local should be in the system prefix # path. set(pkg_config_enabled ON) - if(APPLE OR WIN32) + if(APPLE OR WIN32 OR QNX) set(pkg_config_enabled OFF) endif() if(DEFINED FEATURE_pkg_config)