summaryrefslogtreecommitdiffstats
path: root/examples/activeqt
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-12-14 17:51:59 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-12-15 11:08:41 +0100
commit579f2c7937ada28f3aa9cf0bad4a8e7f695c7fb3 (patch)
tree4c95fb434ecd38f0edef1b8275e1600328383181 /examples/activeqt
parent4b2b23de56de70adb984d7df5b590bbc28437fc4 (diff)
Switch examples to build as isolated sub-builds
Pick-to: 6.2 6.3 Task-number: QTBUG-90820 Change-Id: I87f7bd37874499bbc6eafeea32e4eef030184e0c Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
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()