From 3dc3c0e2b66eb452cfde2c0702295dc6806a51fa Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Tue, 19 May 2020 11:08:40 +0200 Subject: [PATCH] CMake: Append to QT_CONFIG in the qt_lib_XXX.pri files The module pri files are supposed to add their public features to the global QT_CONFIG variable. Change-Id: I9a1719f897747a1d89011b1f1231c05a23539def Reviewed-by: Alexandru Croitor --- cmake/QtBuild.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index a2c8c7b766..eda5d9ff74 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -781,6 +781,7 @@ QT.${config_module_name}.module_config = ${joined_module_internal_config} QT.${config_module_name}.DEFINES = QT_${module_define}_LIB QT.${config_module_name}.enabled_features = ${enabled_features} QT.${config_module_name}.disabled_features = ${disabled_features}${module_build_config} +QT_CONFIG += ${enabled_features} QT_MODULES += ${config_module_name} " )