[software development] fcitx input method solution in QtCreator 10.x 11.x
Technology Exchange 1315 views · 1 replies ·
yanjuner
Super Moderator
2023-12-01 00:28
Author
summary
AI: In modern programming development, it is crucial to choose an excellent integrated development environment. However, in practical application, we will inevitably encounter some problems. For example, QtCreator 10.x is a popular development tool, but it may have some defects, such as the inability to use input methods such as fcitx in it, which may cause inconvenience to development in some cases. If you have not compiled tools such as fcitx, solving this type of problem will also become more difficult. Therefore, in the programming development process, it is an important step to solve these problems in a timely manner and choose the tools that suit you.
System platform and initial compilation preparation
Install the qt6-base-private-dev package and fcitx-libs-dev. If you install fcitx5, there may be some conflicts. In short, you can just uninstall fcitx5 and reinstall it afterwards.
Mid-term compilation preparation
You need to get the source code of fcitx-qt5, the debian series is executable apt source fcitx-qt5
You need to install all the support packages involved in compiling fcitx-qt5. This is because I installed fcitx5
Uninstall fcitx5 and you can continue.
Finally start compiling
Modify the fcitx-qt5 source code to produce only the Qt Plugin module for qt6
Compile directly and my fcitx-qt5 so will be generated.
Deployment after compilation
Copy to all similar directories of Qt Creator 10.x series
Copied to QtCreator 11 below here
Then you can use it
A bunch of qtcreator
Following the end of the picture, install fcitx5
This is my CSDN blog, of course there is nothing technical about it
summary
AI: In modern programming development, it is crucial to choose an excellent integrated development environment. However, in practical application, we will inevitably encounter some problems. For example, QtCreator 10.x is a popular development tool, but it may have some defects, such as the inability to use input methods such as fcitx in it, which may cause inconvenience to development in some cases. If you have not compiled tools such as fcitx, solving this type of problem will also become more difficult. Therefore, in the programming development process, it is an important step to solve these problems in a timely manner and choose the tools that suit you.
System platform and initial compilation preparation
Install the qt6-base-private-dev package and fcitx-libs-dev. If you install fcitx5, there may be some conflicts. In short, you can just uninstall fcitx5 and reinstall it afterwards.
Mid-term compilation preparation
apt source fcitx-qt5
Finally start compiling
Deployment after compilation
Following the end of the picture, install fcitx5
This is my CSDN blog, of course there is nothing technical about it