aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2025-04-03 10:27:46 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2025-04-09 12:54:16 +0000
commit567a14db0e920345d9f428a40156e045299d6348 (patch)
tree69e2a0a52638d8e5da84a60edb1e791ae6ddd186
parente904fc15d96b4aa041b5691b18d8e7e765d06626 (diff)
CMake: Use qt_internal_add_example for advancedtext
Because it's an example project, not a subdir project that adds other example projects. Amends 0b23a68fabf6bfcb03d04db7119c2985d7b5d84d Change-Id: Iaaab440d1b6e75d89f0948083e275b2d7e7009ef Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit cff02c18526289915e867a71b95ced3f0734f7b9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 4420df89839e8f95cd5718f9697c972128fcb560)
-rw-r--r--examples/quick/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/CMakeLists.txt b/examples/quick/CMakeLists.txt
index 4b8d59eebb..53fad85054 100644
--- a/examples/quick/CMakeLists.txt
+++ b/examples/quick/CMakeLists.txt
@@ -36,7 +36,7 @@ if(TARGET Qt6::QuickWidgets AND TARGET Qt6::Widgets AND (QT_FEATURE_opengl OR QT
add_subdirectory(quickwidgets)
endif()
add_subdirectory(quickshapes)
-add_subdirectory(advancedtext)
+qt_internal_add_example(advancedtext)
qt_internal_add_example(vectorimage)
# qt_examples_build_end() misses at least some of these due to some