aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/samegame
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-08-20 08:48:04 +0200
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-08-21 08:13:56 +0000
commit27bee8076f50a948ffb9997e2a0673854681437d (patch)
tree505d78d92964885b2b43414ac76836d0b6f31479 /examples/quick/demos/samegame
parent9459256cde79f2e40db3514b6925923a209bbf52 (diff)
Don't try to link to SQLite plugin when building samegame statically.
Disable the linking to a SQL driver that isn't a plugin Task-number: QTBUG-42926 Change-Id: I6d51fce7bb924d8b778fe36fa9f908c6fda3da13 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'examples/quick/demos/samegame')
-rw-r--r--examples/quick/demos/samegame/samegame.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/demos/samegame/samegame.pro b/examples/quick/demos/samegame/samegame.pro
index 51e6f00321..e041dd61dd 100644
--- a/examples/quick/demos/samegame/samegame.pro
+++ b/examples/quick/demos/samegame/samegame.pro
@@ -7,4 +7,4 @@ RESOURCES += samegame.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/quick/demos/samegame
INSTALLS += target
-QTPLUGIN += qsqlite
+!contains(sql-drivers, sqlite): QTPLUGIN += qsqlite