diff options
author | Iru Cai <mytbk920423@gmail.com> | 2014-05-06 15:53:52 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2014-05-06 16:47:38 +0800 |
commit | 66b3f3d28fd97c494fc4bb16c556f6ed8e720814 (patch) | |
tree | a8d9985f2fd01a7bab0a10c42ca3a14db7ed7c8e /src/fqterm/main.cpp | |
parent | 8a28eeaaecf3e308c6950f8e3af3f7e9294db284 (diff) | |
download | fqterm-66b3f3d28fd97c494fc4bb16c556f6ed8e720814.tar.xz |
It now builds with MXE
Diffstat (limited to 'src/fqterm/main.cpp')
-rw-r--r-- | src/fqterm/main.cpp | 2 |
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> |