aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-12-03 17:48:28 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-12-03 17:52:45 +0100
commitba2da7d7459a4c64379336435d6091b30ac0d71e (patch)
tree2e8b91871f60c0d310c3953795adf2c554d8ea3e
parentfc9831b540ff40ec3a1cd10fb97a7353cc2d3997 (diff)
CMake: Make QT_BUILD_EXAMPLES build work with boot2qt
Work around QTBUG-86533 by adding explicit dependencies to QuickTemplates2. Change-Id: I293e6db652cbd6c7a699f778c0d45c6c1fd9bdc9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--examples/quickcontrols2/gallery/CMakeLists.txt4
-rw-r--r--examples/quickcontrols2/wearable/CMakeLists.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/quickcontrols2/gallery/CMakeLists.txt b/examples/quickcontrols2/gallery/CMakeLists.txt
index 06ddf333..ecb308c7 100644
--- a/examples/quickcontrols2/gallery/CMakeLists.txt
+++ b/examples/quickcontrols2/gallery/CMakeLists.txt
@@ -32,6 +32,10 @@ target_link_libraries(gallery_controls2 PUBLIC # special case
Qt::Gui
Qt::Quick
Qt::QuickControls2
+# special case begin
+ # Work around QTBUG-86533
+ Qt::QuickTemplates2
+# special case end
)
diff --git a/examples/quickcontrols2/wearable/CMakeLists.txt b/examples/quickcontrols2/wearable/CMakeLists.txt
index a8aace7a..cb5e833c 100644
--- a/examples/quickcontrols2/wearable/CMakeLists.txt
+++ b/examples/quickcontrols2/wearable/CMakeLists.txt
@@ -32,6 +32,10 @@ target_link_libraries(wearable PUBLIC
Qt::Gui
Qt::Quick
Qt::QuickControls2
+# special case begin
+ # Work around QTBUG-86533
+ Qt::QuickTemplates2
+# special case end
)