diff options
author | Cástor Muñoz <cmvidal@gmail.com> | 2015-12-16 20:29:38 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2015-12-18 23:42:17 +0100 |
commit | 4627d4b56e63e5689ad6ffd652636f112081a0ea (patch) | |
tree | 6825c4df54bf73f2fe3658da75f0687a6a5facc0 | |
parent | 2d23c0310e9e5b686d503ece658e3a80a0aba62d (diff) | |
download | rockbox-4627d4b56e63e5689ad6ffd652636f112081a0ea.tar.gz 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>
-rw-r--r-- | rbutil/rbutilqt/main.cpp | 4 |
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 @@ | |||
27 | 27 | ||
28 | #ifdef STATIC | 28 | #ifdef STATIC |
29 | #include <QtPlugin> | 29 | #include <QtPlugin> |
30 | #if QT_VERSION < 0x050000 | ||
30 | Q_IMPORT_PLUGIN(qtaccessiblewidgets) | 31 | Q_IMPORT_PLUGIN(qtaccessiblewidgets) |
32 | #else | ||
33 | Q_IMPORT_PLUGIN(AccessibleFactory) | ||
34 | #endif | ||
31 | #endif | 35 | #endif |
32 | 36 | ||
33 | 37 | ||