summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2015-12-16 20:29:38 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2015-12-18 23:42:17 +0100
commit4627d4b56e63e5689ad6ffd652636f112081a0ea (patch)
tree6825c4df54bf73f2fe3658da75f0687a6a5facc0 /rbutil/rbutilqt
parent2d23c0310e9e5b686d503ece658e3a80a0aba62d (diff)
downloadrockbox-4627d4b56e63e5689ad6ffd652636f112081a0ea.tar.gz
rockbox-4627d4b56e63e5689ad6ffd652636f112081a0ea.tar.bz2
rockbox-4627d4b56e63e5689ad6ffd652636f112081a0ea.zip
Fix static compilation with Qt5.
Qt5 uses a different name for the accessibility plugin. Cherry-picked from G#1221. Change-Id: If32eafa053a176ba24b4595826593023ed808164 Signed-off-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/main.cpp b/rbutil/rbutilqt/main.cpp
index 9f272281d4..f950d20403 100644
--- a/rbutil/rbutilqt/main.cpp
+++ b/rbutil/rbutilqt/main.cpp
@@ -27,7 +27,11 @@
#ifdef STATIC
#include <QtPlugin>
+#if QT_VERSION < 0x050000
Q_IMPORT_PLUGIN(qtaccessiblewidgets)
+#else
+Q_IMPORT_PLUGIN(AccessibleFactory)
+#endif
#endif