summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-11-18 21:54:27 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-11-19 20:44:51 +0100
commit610123b1c8fa5f8f376b15659cd671936eb79ec5 (patch)
tree37f439c8b43c040c116285f89a51a10acd9be853 /qmake
parentd29f76f5e5bada4badcd9db8bf3fb15ff4ba3012 (diff)
Move the 'qmake' feature to src/tools/configure.cmake
This allows us to present 'qmake' in the tool-related section of the configure summary. Change-Id: I897dec23cb0608706ec01d9b91283dbce92b293f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/CMakeLists.txt4
-rw-r--r--qmake/configure.cmake12
2 files changed, 0 insertions, 16 deletions
diff --git a/qmake/CMakeLists.txt b/qmake/CMakeLists.txt
index 6a37fb981c..6eae6ecd39 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 f1b839dcef..0000000000
--- 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()