For those who can't use Fcitx even after you install fcitx-qt5, this is caused by a wrong version of libfcitxplatforminputcontextplugin.so. libfcitxplatforminputcontextplugin.so should use the same version of Qt as mendeleydesktop.
To find which version of Qt mendeleydesktop is using, please execute qt strings libQt5Core.so.5 | grep "Qt 5"
. Then you will see the following output,
Qt 5.10.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6)) This is the QtCore library version Qt 5.10.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6))
You can extract the corresponding libfcitxplatforminputcontextplugin.so (/usr/lib/qt/plugins/platforminputcontexts/) from an older version of https://archive.archlinux.org/packages/f/fcitx-qt5/. You need to find out which version of Qt is used for libfcitxplatforminputcontextplugin by executing strings libfcitxplatforminputcontextplugin.so|grep "Qt"
,
_ZN9QMetaType25registerConverterFunctionEPKN9QtPrivate25AbstractConverterFunctionEii ... Qt_5.10 ...
Then cp libfcitxplatforminputcontextplugin.so /opt/mendeleydesktop/lib/mendeleydesktop/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
.
For example, if you install mendeleydesktop 1.19.2-1, the correct version of libfcitxplatforminputcontextplugin.so is in https://archive.archlinux.org/packages/f/fcitx-qt5/fcitx-qt5-1.2.1-3-x86_64.pkg.tar.xz.
You can even compile your own Fcitx platforminputcontext plugin usinga specific version of Qt. Please refer to A case study: how to compile a Fcitx platforminputcontext plugin for a proprietary software that uses Qt 5 | CS Slayer
Pinned Comments
ReyJamonico commented on 2022-06-20 07:50 (UTC) (edited on 2022-06-20 07:53 (UTC) by ReyJamonico)
I will maintain this until it stops working, but this package should be considered "legacy" and the new Reference Manager (https://aur.archlinux.org/packages/mendeley-reference-manager) preferred.
More Info: https://blog.mendeley.com/category/new-release-2/
akstrfn commented on 2018-10-02 15:21 (UTC) (edited on 2018-12-14 14:50 (UTC) by akstrfn)
To avoid crashs when opening PDF's, and hangout on exit install
mendeleydesktop-bundled
which packages Qt provided by the upstream.