From ba2da7d7459a4c64379336435d6091b30ac0d71e Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 3 Dec 2020 17:48:28 +0100 Subject: 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 --- examples/quickcontrols2/gallery/CMakeLists.txt | 4 ++++ examples/quickcontrols2/wearable/CMakeLists.txt | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'examples') 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 ) -- cgit v1.2.3