diff options
author | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-08-20 08:48:04 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-08-21 08:13:56 +0000 |
commit | 27bee8076f50a948ffb9997e2a0673854681437d (patch) | |
tree | 505d78d92964885b2b43414ac76836d0b6f31479 | |
parent | 9459256cde79f2e40db3514b6925923a209bbf52 (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>
-rw-r--r-- | examples/quick/demos/samegame/samegame.pro | 2 |
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 |