summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-07-11 15:13:12 +0200
committerkh1 <qt-info@nokia.com>2011-07-11 15:13:12 +0200
commit99bb647efa10772ad93d4092e8b01f693c554d36 (patch)
tree7178e4120da21e4cb0889b93e55b1375a2e0f510 /examples
parent6722096ee915d12a3c2efaaf6f251675e079031c (diff)
Build fix for dynamic linkage.
Review-by: Maurice Kalinowski, Niels Weber
Diffstat (limited to 'examples')
-rw-r--r--examples/testapp/testapp.pro8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/testapp/testapp.pro b/examples/testapp/testapp.pro
index 9ae4edc70..235dccf76 100644
--- a/examples/testapp/testapp.pro
+++ b/examples/testapp/testapp.pro
@@ -8,7 +8,13 @@ DESTDIR = packages/com.nokia.testapp/data
QT += script network xml sql
CONFIG += uitools help
-QTPLUGIN += qsqlite
+contains(CONFIG, static): {
+ SQLPLUGINS = $$unique(sql-plugins)
+ contains(SQLPLUGINS, sqlite): {
+ QTPLUGIN += qsqlite
+ DEFINES += USE_STATIC_SQLITE_PLUGIN
+ }
+}
# Input
FORMS += componentselectiondialog.ui updatesettingsdialog.ui updatesettingswidget.ui