aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-09-12 13:11:10 +0200
committerLars Knoll <lars.knoll@qt.io>2016-09-12 11:52:51 +0000
commitc49b1ff158c591774603ed94690a1e9078062fe8 (patch)
tree9fe8e25d587de50d28333541cdbf83d991bc90af /examples
parent1e710a801f100f84b65febcbef4395b66b952777 (diff)
Fix sqlite detection
There is now a sql-sqlite feature in qtbase that should get used. Change-Id: I92eb47c292b13ca639fd808b397e25f8358d2e96 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/quickcontrols2/chattutorial/chapter4-models/chapter4-models.pro2
-rw-r--r--examples/quickcontrols2/chattutorial/chapter5-styling/chapter5-styling.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/quickcontrols2/chattutorial/chapter4-models/chapter4-models.pro b/examples/quickcontrols2/chattutorial/chapter4-models/chapter4-models.pro
index d62eacc0..75d37ca3 100644
--- a/examples/quickcontrols2/chattutorial/chapter4-models/chapter4-models.pro
+++ b/examples/quickcontrols2/chattutorial/chapter4-models/chapter4-models.pro
@@ -3,7 +3,7 @@ TEMPLATE = app
QT += qml quick sql
CONFIG += c++11
-!contains(sql-drivers, sqlite): QTPLUGIN += qsqlite
+!qtConfig(sql-sqlite): QTPLUGIN += qsqlite
HEADERS += sqlcontactmodel.h \
sqlconversationmodel.h
diff --git a/examples/quickcontrols2/chattutorial/chapter5-styling/chapter5-styling.pro b/examples/quickcontrols2/chattutorial/chapter5-styling/chapter5-styling.pro
index 2b15b72d..007d23b3 100644
--- a/examples/quickcontrols2/chattutorial/chapter5-styling/chapter5-styling.pro
+++ b/examples/quickcontrols2/chattutorial/chapter5-styling/chapter5-styling.pro
@@ -3,7 +3,7 @@ TEMPLATE = app
QT += qml quick sql
CONFIG += c++11
-!contains(sql-drivers, sqlite): QTPLUGIN += qsqlite
+!qtConfig(sql-sqlite): QTPLUGIN += qsqlite
HEADERS += sqlcontactmodel.h \
sqlconversationmodel.h