summaryrefslogtreecommitdiffstats
path: root/src/interfaceframework/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaceframework/CMakeLists.txt')
-rw-r--r--src/interfaceframework/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/interfaceframework/CMakeLists.txt b/src/interfaceframework/CMakeLists.txt
index 9c23b7af..b90f4a71 100644
--- a/src/interfaceframework/CMakeLists.txt
+++ b/src/interfaceframework/CMakeLists.txt
@@ -8,6 +8,8 @@ qt_internal_add_qml_module(InterfaceFramework
PAST_MAJOR_VERSIONS 1
CLASS_NAME QtInterfaceFrameworkPlugin
PLUGIN_TYPES interfaceframework
+ DEPENDENCIES
+ QtQuick/auto
SOURCES
qifabstractfeature.cpp qifabstractfeature.h qifabstractfeature_p.h
qifabstractfeaturelistmodel.cpp qifabstractfeaturelistmodel.h qifabstractfeaturelistmodel_p.h
@@ -49,6 +51,12 @@ qt_internal_add_qml_module(InterfaceFramework
Qt6InterfaceFrameworkMacros.cmake
)
+qt_internal_extend_target(InterfaceFramework CONDITION TARGET Qt::QmlModels
+ PUBLIC_LIBRARIES
+ Qt::QmlModels
+)
+
+
# When the system-qface is used we need to save the location of the used Python3 interpreter in
# the module pri file, in order to use from qmake
if(QT_FEATURE_system_qface)