Commit f212e46f authored by Friedemann Kleint's avatar Friedemann Kleint Committed by The Qt Project
Browse files

Assistant: Fix static linking for Linux.


main.cpp:78: undefined reference to `qt_static_plugin_qsqlite()'

The import for the DB plugin should now be generated by qmake.

Change-Id: I9da25aea8667ca34221427236b8e1d36be77da8b
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: default avatarKarsten Heimrich <karsten.heimrich@digia.com>
parent a2a8ed79
Branches
Tags
No related merge requests found
Showing with 1 addition and 12 deletions
......@@ -107,13 +107,7 @@ mac {
QMAKE_INFO_PLIST = Info_mac.plist
}
contains(QT_CONFIG, static): {
SQLPLUGINS = $$unique(sql-plugins)
contains(SQLPLUGINS, sqlite): {
QTPLUGIN += qsqlite
DEFINES += USE_STATIC_SQLITE_PLUGIN
}
}
QTPLUGIN += qsqlite
target.path=$$[QT_INSTALL_BINS]
INSTALLS += target
......@@ -73,11 +73,6 @@
QT_USE_NAMESPACE
#if defined(USE_STATIC_SQLITE_PLUGIN)
#include <QtPlugin>
Q_IMPORT_PLUGIN(qsqlite)
#endif
namespace {
void
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment