summaryrefslogtreecommitdiffstats
path: root/examples/activeqt
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-12-14 17:51:59 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-12-15 11:04:10 +0000
commit4b78e0aaa84cc1fc53474c0e9976a3a58163e166 (patch)
treebf711335c023af7e7e6ed331ce43ae9e59e276a7 /examples/activeqt
parentfb08b7f41d215291e42e319c07390314237dcd5e (diff)
Switch examples to build as isolated sub-builds
Task-number: QTBUG-90820 Change-Id: I87f7bd37874499bbc6eafeea32e4eef030184e0c Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 579f2c7937ada28f3aa9cf0bad4a8e7f695c7fb3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/activeqt')
-rw-r--r--examples/activeqt/CMakeLists.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/activeqt/CMakeLists.txt b/examples/activeqt/CMakeLists.txt
index 62c0318..168dd37 100644
--- a/examples/activeqt/CMakeLists.txt
+++ b/examples/activeqt/CMakeLists.txt
@@ -1,19 +1,19 @@
# Generated from activeqt.pro.
if(MSVC)
- add_subdirectory(comapp)
- add_subdirectory(hierarchy)
- add_subdirectory(menus)
- add_subdirectory(multiple)
- add_subdirectory(simple)
- add_subdirectory(wrapper)
+ qt_internal_add_example(comapp)
+ qt_internal_add_example(hierarchy)
+ qt_internal_add_example(menus)
+ qt_internal_add_example(multiple)
+ qt_internal_add_example(simple)
+ qt_internal_add_example(wrapper)
if(TARGET Qt6::OpenGLWidgets AND QT_FEATURE_opengl AND NOT QT_FEATURE_opengles2) # special case
- add_subdirectory(opengl)
+ qt_internal_add_example(opengl)
endif()
if(TARGET Qt::QuickControls2)
- add_subdirectory(simpleqml)
+ qt_internal_add_example(simpleqml)
endif()
endif()
if(MINGW OR QT_BUILD_SHARED_LIBS)
- add_subdirectory(mediaplayer)
+ qt_internal_add_example(mediaplayer)
endif()