summaryrefslogtreecommitdiffstats
path: root/src/sql/configure.json
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-12-02 10:51:15 +0100
committerUlf Hermann <ulf.hermann@qt.io>2018-02-20 09:09:01 +0000
commit34017a8c5aaca2723fb62e79ea177b5579040ad3 (patch)
tree058a6954deb37f75cc7fd3128e4f7f1887c43f5f /src/sql/configure.json
parentd945e118371c56c7008db3632a871efe23605650 (diff)
Sql: Add a feature for the SQL item models
... and make sure we can build if it's switched off. Change-Id: I9565a2ce632a861a99e1276f3edf4f0d094b5451 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/sql/configure.json')
-rw-r--r--src/sql/configure.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/sql/configure.json b/src/sql/configure.json
new file mode 100644
index 0000000000..8fdc27e3a2
--- /dev/null
+++ b/src/sql/configure.json
@@ -0,0 +1,22 @@
+{
+ "module": "sql",
+ "depends": [
+ "core"
+ ],
+
+ "features": {
+ "sqlmodel": {
+ "label": "SQL item models",
+ "purpose": "Provides item model classes backed by SQL databases.",
+ "condition": "features.itemmodel",
+ "output": [ "publicFeature" ]
+ }
+ },
+
+ "summary": [
+ {
+ "section": "Qt Sql",
+ "entries": [ "sqlmodel" ]
+ }
+ ]
+}