summaryrefslogtreecommitdiffstats
path: root/examples/tutorials
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2023-08-28 09:37:07 +0200
committerKai Köhne <kai.koehne@qt.io>2023-12-12 09:02:51 +0000
commit75f84395152ee95f647089b927c2ac9088393257 (patch)
treeb80e8757e4841cceb088951f243fa6f7f3bc473b /examples/tutorials
parent52b97cd6d0ce3543ee7ddd296acafc502ba9f570 (diff)
Examples: Build tutorials/alarms in CI
The alarms example was not tested in the CI so far. Pick-to: 6.7 Task-number: QTBUG-116489 Change-Id: I4ac00456b393a35dcf0e63651972bac45560fdaa Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/tutorials')
-rw-r--r--examples/tutorials/CMakeLists.txt6
-rw-r--r--examples/tutorials/tutorials.pro3
2 files changed, 9 insertions, 0 deletions
diff --git a/examples/tutorials/CMakeLists.txt b/examples/tutorials/CMakeLists.txt
new file mode 100644
index 000000000..524b5f63a
--- /dev/null
+++ b/examples/tutorials/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+if(TARGET Qt6::Quick)
+ qt_internal_add_example(alarms)
+endif()
diff --git a/examples/tutorials/tutorials.pro b/examples/tutorials/tutorials.pro
new file mode 100644
index 000000000..071a754cf
--- /dev/null
+++ b/examples/tutorials/tutorials.pro
@@ -0,0 +1,3 @@
+TEMPLATE = subdirs
+
+SUBDIRS = alarms