aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlmodels/configure.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlmodels/configure.cmake')
-rw-r--r--src/qmlmodels/configure.cmake39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/qmlmodels/configure.cmake b/src/qmlmodels/configure.cmake
new file mode 100644
index 0000000000..44643c88a6
--- /dev/null
+++ b/src/qmlmodels/configure.cmake
@@ -0,0 +1,39 @@
+
+
+#### Inputs
+
+
+
+#### Libraries
+
+
+
+#### Tests
+
+
+
+#### Features
+
+qt_feature("qml-object-model" PRIVATE
+ SECTION "QML"
+ LABEL "QML object model"
+ PURPOSE "Provides the ObjectModel and Instantiator QML types."
+)
+qt_feature("qml-list-model" PRIVATE
+ SECTION "QML"
+ LABEL "QML list model"
+ PURPOSE "Provides the ListModel QML type."
+ CONDITION QT_FEATURE_qml_itemmodel
+)
+qt_feature("qml-delegate-model" PRIVATE
+ SECTION "QML"
+ LABEL "QML delegate model"
+ PURPOSE "Provides the DelegateModel QML type."
+ CONDITION QT_FEATURE_qml_object_model AND QT_FEATURE_qml_itemmodel
+)
+qt_feature("qml-table-model" PRIVATE
+ SECTION "QML"
+ LABEL "QML table model"
+ PURPOSE "Provides the TableModel QML type."
+ CONDITION QT_FEATURE_qml_itemmodel AND QT_FEATURE_qml_delegate_model
+)