aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlmodels/configure.json
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/qmlmodels/configure.json
parent84ec8fa02629e348e2bc49e62db2e2c5cb744437 (diff)
Fix build without features.itemmodel
Change-Id: Ia4304644a2a365c359eed31c55c2ca9d7d42f10c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmlmodels/configure.json')
-rw-r--r--src/qmlmodels/configure.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qmlmodels/configure.json b/src/qmlmodels/configure.json
index bfe7d538ec..2b4fa4f6e2 100644
--- a/src/qmlmodels/configure.json
+++ b/src/qmlmodels/configure.json
@@ -16,19 +16,21 @@
"label": "QML list model",
"purpose": "Provides the ListModel QML type.",
"section": "QML",
+ "condition": "features.qml-itemmodel",
"output": [ "privateFeature" ]
},
"qml-delegate-model": {
"label": "QML delegate model",
"purpose": "Provides the DelegateModel QML type.",
"section": "QML",
- "condition": "features.qml-object-model",
+ "condition": "features.qml-object-model && features.qml-itemmodel",
"output": [ "privateFeature" ]
},
"qml-table-model": {
"label": "QML table model",
"purpose": "Provides the TableModel QML type.",
"section": "QML",
+ "condition": "features.qml-itemmodel",
"output": [ "privateFeature" ]
}
},