aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qbc.io>2019-07-05 06:54:38 +0900
committerTasuku Suzuki <tasuku.suzuki@qbc.io>2019-07-08 18:42:26 +0900
commit89c9418621990961ced6add0e218eaaf63a1656e (patch)
tree801a1da00351f18f1513304881eb2a56d280b19d /src/qml/types
parent84ec8fa02629e348e2bc49e62db2e2c5cb744437 (diff)
Fix build without features.itemmodel
Change-Id: Ia4304644a2a365c359eed31c55c2ca9d7d42f10c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/types')
-rw-r--r--src/qml/types/types.pri13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/qml/types/types.pri b/src/qml/types/types.pri
index c50273071b..54cd8710b6 100644
--- a/src/qml/types/types.pri
+++ b/src/qml/types/types.pri
@@ -1,12 +1,17 @@
SOURCES += \
$$PWD/qqmlbind.cpp \
- $$PWD/qqmlconnections.cpp \
- $$PWD/qqmlmodelindexvaluetype.cpp
+ $$PWD/qqmlconnections.cpp
HEADERS += \
$$PWD/qqmlbind_p.h \
- $$PWD/qqmlconnections_p.h \
- $$PWD/qqmlmodelindexvaluetype_p.h
+ $$PWD/qqmlconnections_p.h
+
+qtConfig(qml-itemmodel) {
+ SOURCES += \
+ $$PWD/qqmlmodelindexvaluetype.cpp
+ HEADERS += \
+ $$PWD/qqmlmodelindexvaluetype_p.h
+}
qtConfig(qml-animation) {
SOURCES += \