diff --git a/cmake/QtFeature.cmake b/cmake/QtFeature.cmake index 33b1c7a9554..c7e47647511 100644 --- a/cmake/QtFeature.cmake +++ b/cmake/QtFeature.cmake @@ -131,14 +131,6 @@ function(qt_evaluate_config_expression resultVar) string(COMPARE EQUAL "${lhs}" "${rhs}" stringCompareResult) list(APPEND result ${stringCompareResult}) - elseif("${member}" STREQUAL "TARGET" AND memberIdx LESS ${length}) - math(EXPR rhsIndex "${memberIdx}+1") - list(GET exists_target ${rhsIndex} rhs) - if(NOT TARGET "${exists_target}") - set(result "target_does_not_exist") - break() - endif() - set(skipNext ON) else() string(FIND "${member}" "QT_FEATURE_" idx) if(idx EQUAL 0) diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py index 2de2567803e..890d4dfc5fe 100755 --- a/util/cmake/configurejson2cmake.py +++ b/util/cmake/configurejson2cmake.py @@ -281,8 +281,6 @@ def map_condition(condition): elif match.group(1) == 'config': substitution = map_platform(match.group(2)) - elif match.group(1) == 'module': - substitution = 'TARGET {}'.format(map_qt_library(match.group(2))) elif match.group(1) == 'arch': if match.group(2) == 'i386':