From 66b3f3d28fd97c494fc4bb16c556f6ed8e720814 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Tue, 6 May 2014 15:53:52 +0800 Subject: It now builds with MXE --- src/fqterm/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fqterm/main.cpp') 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 +#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 -- cgit v1.2.3