summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/snippets
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2025-06-27 09:23:50 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2025-06-30 17:40:07 +0200
commit1fed7005c5bc19a284ce394fea1d383388a5b366 (patch)
treeeece7339052b90a5f9acb4f97fd102df23ec1d61 /src/corelib/doc/snippets
parentf10e599e3f6e5c77890281b44fad996542d60fca (diff)
CMake: Fix per-repo developer build
Don't try to find_package(Qt6Qml) in qtbase. This produces a CMake error in a per-repo developer build. In a top-level build, there was no error but qlogging.cpp was still not compiled. Remove the whole block. Change-Id: Ie7266b2f66744379590a7734cabfb95a754d80ea Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets')
-rw-r--r--src/corelib/doc/snippets/CMakeLists.txt13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/corelib/doc/snippets/CMakeLists.txt b/src/corelib/doc/snippets/CMakeLists.txt
index 4fda2ed54ea..937433f2e21 100644
--- a/src/corelib/doc/snippets/CMakeLists.txt
+++ b/src/corelib/doc/snippets/CMakeLists.txt
@@ -53,19 +53,6 @@ qt_internal_extend_target(corelib_snippets CONDITION QT_FEATURE_gui
qdebug/qdebugsnippet.cpp
)
-find_package(Qt6 OPTIONAL_COMPONENTS Qml)
-
-if(Qt6Qml_FOUND)
- qt_internal_extend_target(corelib_snippets
- LIBRARIES
- Qt::Qml
- SOURCES
- qlogging/qlogging.cpp
- )
-else()
- message("Qml was not found")
-endif()
-
if ("${CMAKE_CXX_COMPILE_FEATURES}" MATCHES "cxx_std_23")
set_property(TARGET corelib_snippets PROPERTY CXX_STANDARD 23)
endif()