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) |
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 @@ #ifdef STATIC #include <QtPlugin> +#if QT_VERSION < 0x050000 Q_IMPORT_PLUGIN(qtaccessiblewidgets) +#else +Q_IMPORT_PLUGIN(AccessibleFactory) +#endif #endif |