diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index cfafa156296..3531d28b424 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -35,6 +35,8 @@ host_build { QT -= core core-private xml QT += bootstrap-private } + } else { + !build_pass:contains(QT_CONFIG, build_all): CONFIG += release } }