I’m trying to use traditional Chinese in the Add Text (TA) tool, but I can’t seem to get it to work.
With dimensions, I can select a font that includes Chinese (like the google Noto fonts) , and although I can’t directly use a Chinese input method in the qcad application, I can copy/paste Chinese characters (廚房 for kitchen for instance). So dimensions are doable.
With the Add Text tool, though, the font selection is more limited and doesn’t include any for Chinese. Is there any workaround to getting Chinese to work here?
I’ve installed “Noto Sans CJK TC” under 64-bit Ubuntu and it shows up in the text dialog and I can also create text with it (QCAD 3.19.2).
Please check if you might have configured QCAD to only display a limited range of fonts in the text dialog under: Edit > Application Preferences > Draw > Text
My laptop environment:
Debian 10
qcad-3.26.2-trial-linux-qt5.14-x86_64
qt5
fcitx
Only copy some files to the directory as follows:
:~$ cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/* home/user/opt/qcad-3.26.2-trial-linux-qt5.14-x86_64/platforminputcontexts/
Now you can input chinese by fcitx which in the Qcad text dialogue.
2024.10.26 add:
The qcad have “libibusplatforminputcontextplugin.so”, so you can use ibus input chinese in qcad which don’t do anything.
My laptop environment:
openSUSE Tumbleweed 20241011 (Qt5.15.15)
qcad-3.31.1-pro-linux-qt5.14-x86_64 (Qt5.14.2)
chinese IM:fcitx
Due to the Qt version of system different from qcad, so the “libfcitxplatforminputcontextplugin.so” of system file copy to “~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/” which don’t work.
solution:
refer https://blog.csdn.net/weixin_42233642/article/details/136296326
compile fcitx-qt5 to build “libfcitxplatforminputcontextplugin.so” of “Qt5.14.2” version.
Copy “libfcitxplatforminputcontextplugin.so” of “Qt5.14.2” version to “~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/”. Now you can use fcitx input chinese in qcad.
When I had installed qcad which directory “qcad-3.26.2-trial-linux-qt5.14-x86_64/platforminputcontexts/” is empty.
Directory “/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/” contains only these two files here:
libcomposeplatforminputcontextplugin.so
libibusplatforminputcontextplugin.so
I’m encountering an issue where I cannot directly input Chinese characters in the text input window. While displaying existing Chinese characters and copying/pasting from other programs work fine, direct input remains unavailable.
Font: Noto Sans CJK TC
Chinese Input Method: fcitx5
I’ve already attempted the suggested method of copying the platform input context plugins
Unfortunately, this solution didn’t resolve the issue.
For reference, the directory /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts contains the following files:
libcomposeplatforminputcontextplugin.so
libfcitx5platforminputcontextplugin.so (already using this one)
libibusplatforminputcontextplugin.so
plasmaimplatforminputcontextplugin.so
Any suggestions on how to enable direct Chinese character input in QCAD would be greatly appreciated.
I have an old laptop used debian 11, I check the QT version of old laptop debian 11 which is QT5.15.2.
My thoughts which is the Debian 12 Qt Version maybe above of 5.15.2, but not is 5.14.2.
Due to the Qt version of system different from qcad, so the “libfcitxplatforminputcontextplugin.so” of system file copy to “~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/” which don’t work.
solution:
refer https://blog.csdn.net/weixin_42233642/article/details/136296326
compile fcitx-qt5 to build “libfcitxplatforminputcontextplugin.so” of “Qt5.14.2” version.
Copy “libfcitxplatforminputcontextplugin.so” of “Qt5.14.2” version to “~/opt/ qcad-3.31.1-pro-linux-qt5.14-x86_64/platforminputcontexts/”. Now you can use fcitx input chinese in qcad.