summaryrefslogtreecommitdiff
path: root/src/fqterm/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fqterm/main.cpp')
-rw-r--r--src/fqterm/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fqterm/main.cpp b/src/fqterm/main.cpp
index 2bdde6e..3c979bc 100644
--- a/src/fqterm/main.cpp
+++ b/src/fqterm/main.cpp
@@ -36,6 +36,7 @@
// static link Qt4 plugins.
void loadNecessaryQtPlugins() {}
#include <QtPlugin>
+#if QT_VERSION < QT_VERSION_CHECK(4,8,6)
Q_IMPORT_PLUGIN(qkrcodecs)
Q_IMPORT_PLUGIN(qcncodecs)
Q_IMPORT_PLUGIN(qjpcodecs)
@@ -43,6 +44,7 @@
Q_IMPORT_PLUGIN(qjpeg)
Q_IMPORT_PLUGIN(qgif)
Q_IMPORT_PLUGIN(qmng)
+#endif
#else
// dynamic link Qt4 plugins.
#include <QPluginLoader>