summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-08-08 11:10:01 (GMT)
committerMontel Laurent <montel@kde.org>2016-08-08 11:10:01 (GMT)
commit330b9a5fb651ca22b93362db3b6099d46b561cf0 (patch)
tree5b3df2e18e5b6fccb02a55951ccbeb6b33ddcfc8
parent39ba8f33bb1c5fa231e433c549e34275ac66d174 (diff)
Revert "QT_STATICPLUGIN is not used"
This reverts commit efc8f6a384c0b0568ef26cc45ae3283df7686867.
-rw-r--r--src/server/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/main.cpp b/src/server/main.cpp
index 937d8d5..c676c41 100644
--- a/src/server/main.cpp
+++ b/src/server/main.cpp
@@ -33,6 +33,12 @@
#include <cstdlib>
+#ifdef QT_STATICPLUGIN
+#include <QtPlugin>
+
+Q_IMPORT_PLUGIN(qsqlite3)
+#endif
+
void shutdownHandler(int)
{
qCDebug(AKONADISERVER_LOG) << "Shutting down AkonadiServer...";