Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 12.0.1
-
None
-
1. openSUSE Tumbleweed/KDE
2. install Qt Creator via `Online Installer` (OpenSource Edition)
3. installing as `root` user, and destination direcotry is `/opt/Qt`
Description
As the title says, I can't switch to chinese pinyin, and I tried the following solution(but it does not work):
# 1. Prepre source codes Git clone https://Github.com/fcitx/fcitx5-qt.Git ~/fcitx5-qt cd ~/fcitx5-qt git checkout 5.1.3 mkdir build # 2. Prepare compiling env export LD_LIBRARY_PATH=/opt/Qt/Tools/QtCreator/lib/Qt/lib export PATH=/opt/Qt/Tools/QtCreator/lib/Qt/bin:/opt/Qt/6.6.1/gcc_64/bin:/opt/Qt/Tools/CMake/bin:$PATH # 3. Compile the plugin cmake -DENABLE_QT5=Off -DENABLE_QT4=Off -DENABLE_QT6=On \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_ONLY_PLUGIN=ON -B build/ cd build make # 4. Copy the plugin library to QtCreator sudo cp qt6/platforminputcontext/libfcitx5platforminputcontextplugin.so \ /opt/Qt/6.6.1/gcc_64/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so sudo cp qt6/platforminputcontext/libfcitx5platforminputcontextplugin.so \ /opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so
This solution does not work,if you open `QtCreator`->`Terminal`,and execute `fcitx5-qt6-immodule-probing` ,you will see:
qt.qpa.theme.dbus: Session DBus not running. qt.qpa.theme.dbus: Application will not react to setting changes. Check your DBus installation. QT_QPA_PLATFORM=xcb QT_IM_MODULE=fcitx IM_MODULE_CLASSNAME=fcitx::QFcitxPlatformInputContex
Is there a way to fix this problem?
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-26129 Cannot use fcitx5 IM while editing in Qt Creator
- Closed