From c49b1ff158c591774603ed94690a1e9078062fe8 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 12 Sep 2016 13:11:10 +0200 Subject: Fix sqlite detection There is now a sql-sqlite feature in qtbase that should get used. Change-Id: I92eb47c292b13ca639fd808b397e25f8358d2e96 Reviewed-by: Simon Hausmann --- .../quickcontrols2/chattutorial/chapter4-models/chapter4-models.pro | 2 +- .../quickcontrols2/chattutorial/chapter5-styling/chapter5-styling.pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/quickcontrols2/chattutorial') 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 -- cgit v1.2.3