summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt2
-rw-r--r--examples/svg/CMakeLists.txt6
-rw-r--r--examples/svg/draganddrop/CMakeLists.txt2
-rw-r--r--examples/svg/embedded/CMakeLists.txt6
-rw-r--r--examples/svg/richtext/CMakeLists.txt2
5 files changed, 9 insertions, 9 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index eb44013..a2cd1d5 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,6 +1,6 @@
# Generated from examples.pro.
-qt_examples_build_begin()
+qt_examples_build_begin(EXTERNAL_BUILD)
add_subdirectory(svg)
diff --git a/examples/svg/CMakeLists.txt b/examples/svg/CMakeLists.txt
index 16c34c2..df76409 100644
--- a/examples/svg/CMakeLists.txt
+++ b/examples/svg/CMakeLists.txt
@@ -4,7 +4,7 @@ add_subdirectory(embedded)
add_subdirectory(richtext)
add_subdirectory(draganddrop)
if(TARGET Qt::Widgets)
- add_subdirectory(embeddedsvgviewer)
- add_subdirectory(svggenerator)
- add_subdirectory(svgviewer)
+ qt_internal_add_example(embeddedsvgviewer)
+ qt_internal_add_example(svggenerator)
+ qt_internal_add_example(svgviewer)
endif()
diff --git a/examples/svg/draganddrop/CMakeLists.txt b/examples/svg/draganddrop/CMakeLists.txt
index 64c9482..5cb8b4d 100644
--- a/examples/svg/draganddrop/CMakeLists.txt
+++ b/examples/svg/draganddrop/CMakeLists.txt
@@ -1,5 +1,5 @@
# Generated from draganddrop.pro.
if(TARGET Qt::Widgets)
- add_subdirectory(delayedencoding)
+ qt_internal_add_example(delayedencoding)
endif()
diff --git a/examples/svg/embedded/CMakeLists.txt b/examples/svg/embedded/CMakeLists.txt
index adf7001..c52cbe2 100644
--- a/examples/svg/embedded/CMakeLists.txt
+++ b/examples/svg/embedded/CMakeLists.txt
@@ -1,11 +1,11 @@
# Generated from embedded.pro.
if(TARGET Qt::Widgets)
- add_subdirectory(desktopservices)
+ qt_internal_add_example(desktopservices)
endif()
if(QT_FEATURE_process AND TARGET Qt::Widgets)
- add_subdirectory(fluidlauncher)
+ qt_internal_add_example(fluidlauncher)
endif()
if(TARGET Qt::Network AND TARGET Qt::Widgets)
- add_subdirectory(weatherinfo)
+ qt_internal_add_example(weatherinfo)
endif()
diff --git a/examples/svg/richtext/CMakeLists.txt b/examples/svg/richtext/CMakeLists.txt
index 74d04ce..3495b91 100644
--- a/examples/svg/richtext/CMakeLists.txt
+++ b/examples/svg/richtext/CMakeLists.txt
@@ -1,5 +1,5 @@
# Generated from richtext.pro.
if(TARGET Qt::Widgets)
- add_subdirectory(textobject)
+ qt_internal_add_example(textobject)
endif()