diff options
author | Andrei Golubev <andrei.golubev@qt.io> | 2022-03-28 13:45:35 +0200 |
---|---|---|
committer | Andrei Golubev <andrei.golubev@qt.io> | 2022-03-29 15:58:18 +0200 |
commit | e4a00ddb14558e6bc528aba3db89c70bbb0ac583 (patch) | |
tree | 894248e66899e969bc7527c5d32852c47d660012 | |
parent | fd1cfc2e7b40e2cd6118a7ad805f351cce9c293a (diff) |
Add QmlModels dependency to LabsQmlModels
Some classes (e.g. QQmlDelegateChooser) depend-on / inherit QmlModels'
functionality. We need to propagate that dependency to QML via qmldir
entry, otherwise we won't be able to see the types in QmlCompiler lib
Note that we already depend more strongly (via linking) on the
QmlModels library, so there is no reason not to depend on the QML
module in qmldir
Change-Id: I4f16f66f2910fb6afd38475cd6ba3209cfd1207d
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 1d0ebfb4dd266d6ad775098a0681d0d3d9301cfd)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
-rw-r--r-- | src/labs/models/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/labs/models/CMakeLists.txt b/src/labs/models/CMakeLists.txt index e417013ea6..fa4ebbd70b 100644 --- a/src/labs/models/CMakeLists.txt +++ b/src/labs/models/CMakeLists.txt @@ -10,6 +10,8 @@ qt_internal_add_qml_module(LabsQmlModels PUBLIC_LIBRARIES Qt::QmlModelsPrivate Qt::QmlPrivate + DEPENDENCIES + QtQml.Models ) qt_internal_extend_target(LabsQmlModels CONDITION QT_FEATURE_qml_table_model |