aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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