diff --git a/qmake/CMakeLists.txt b/qmake/CMakeLists.txt index 6a37fb981cf..6eae6ecd390 100644 --- a/qmake/CMakeLists.txt +++ b/qmake/CMakeLists.txt @@ -43,10 +43,6 @@ target_compile_definitions(QtLibraryInfo PUBLIC QT_HOST_DATADIR="${hostdatadir}" ) -# qmake is out of any module, so we manually evaluate the required features. -include("${CMAKE_CURRENT_SOURCE_DIR}/configure.cmake") -qt_feature_evaluate_features("${CMAKE_CURRENT_SOURCE_DIR}/configure.cmake") - if(NOT QT_FEATURE_qmake) return() endif() diff --git a/qmake/configure.cmake b/qmake/configure.cmake deleted file mode 100644 index f1b839dcef2..00000000000 --- a/qmake/configure.cmake +++ /dev/null @@ -1,12 +0,0 @@ -qt_feature("qmake" PRIVATE - SECTION "Core tools" - LABEL "qmake tool" - PURPOSE "The qmake tool helps simplify the build process for development projects across different platforms" - CONDITION QT_FEATURE_settings AND QT_FEATURE_alloca AND - (QT_FEATURE_alloca_malloc_h OR NOT WIN32) AND QT_FEATURE_cborstreamwriter AND - QT_FEATURE_datestring AND QT_FEATURE_regularexpression AND QT_FEATURE_temporaryfile -) - -qt_configure_add_summary_section(NAME "Core tools") -qt_configure_add_summary_entry(ARGS "qmake") -qt_configure_end_summary_section() diff --git a/qt_cmdline.cmake b/qt_cmdline.cmake index f819a2bc144..6627788a0ab 100644 --- a/qt_cmdline.cmake +++ b/qt_cmdline.cmake @@ -8,7 +8,6 @@ qt_commandline_subconfig(src/printsupport) qt_commandline_subconfig(src/plugins/sqldrivers) qt_commandline_subconfig(src/testlib) qt_commandline_subconfig(src/tools) -qt_commandline_subconfig(qmake) # special case qt_commandline_custom(qmakeArgs) qt_commandline_option(prefix TYPE string) qt_commandline_option(extprefix TYPE string) diff --git a/src/tools/configure.cmake b/src/tools/configure.cmake index d4f7915e7bb..bee8a90ef7c 100644 --- a/src/tools/configure.cmake +++ b/src/tools/configure.cmake @@ -4,6 +4,13 @@ qt_feature("androiddeployqt" PRIVATE PURPOSE "The Android deployment tool automates the process of creating Android packages." CONDITION NOT CMAKE_CROSSCOMPILING AND QT_FEATURE_regularexpression) +qt_feature("qmake" PRIVATE + PURPOSE "The qmake tool helps simplify the build process for development projects across different platforms." + CONDITION QT_FEATURE_settings AND QT_FEATURE_alloca AND + (QT_FEATURE_alloca_malloc_h OR NOT WIN32) AND QT_FEATURE_cborstreamwriter AND + QT_FEATURE_datestring AND QT_FEATURE_regularexpression AND QT_FEATURE_temporaryfile) + qt_configure_add_summary_section(NAME "Core tools") qt_configure_add_summary_entry(ARGS "androiddeployqt") +qt_configure_add_summary_entry(ARGS "qmake") qt_configure_end_summary_section()