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>
This commit is contained in:
Joerg Bornemann 2020-12-03 17:48:28 +01:00
parent fc9831b540
commit ba2da7d745
2 changed files with 8 additions and 0 deletions

View File

@ -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
)

View File

@ -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
)