Hot search terms: 360 Security Guard Office365 360 browser WPS Office iQiyi Huawei Cloud Market Tencent Cloud Store
Installation and production Storage: 711980KB Time: 2009-10-26
Software introduction: Ubuntu is an operating system completely based on Linux. It is not only free, but also provided by professionals and amateurs...
QT Creator is a lightweight integrated development environment. In the Ubuntu system operation, Chinese cannot be input when using QT. Today, Huajun editor will show you what to do if Ubuntu cannot input Chinese using QT? I hope you will support and share the carefully selected content. If you like it, get it as soon as possible! .
1 Install the Sogou input method (if you want to use the input method that comes with ubuntu, that’s fine, then don’t install it)
Go to Sogou's official website to download a Linux version of Sogou Input Method and install it according to the official website's installation steps.
2. To install qt5, look for qtcreator in the software center and install it directly.
3 Modify the configuration file. In your home folder, look for the profile file (profile is a hidden file, you can find it by pressing ctrl+H to display all files), and add in the last line:
$QTDIR,PATH=$PATH:$QTDIR/bin
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
#IBusSetup
export XMODIFIERS=“@im=missing”
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=IBus
export IBus&
export LC_CTYPE=zh_CN.utf-8
4 Uninstall IBus. Enter sudo apt-get install ibus in the terminal.
5 After logging out or restarting, install ibus again.
After the installation is complete, go to System Settings - "Language Support" and change the keyboard input method to fcitx (because Sogou input method can only work under fcitx).
6 Log out again
7 Install ibus-qt4 Enter apt-get install libus-qt4 in the terminal
8 Log out again
9 Open qt creator so that you can enter Chinese.
Input method shortcut keys can be set automatically, but Sogou input method and sunpinyin input method should not be repeated.
You can enter ibus-setup in the terminal to perform ibus-related configuration.
The above is the method summarized by the editor to solve the problem of unable to input Chinese in QT in Ubuntu. If you also encounter the same problem, you can use the method introduced in this article to solve it. I hope it will be helpful to you.
How to log in to 360 account with 360 speed browser - How to log in to 360 account with 360 speed browser
How to change the skin of 360 Speed Browser - How to change the skin of 360 Speed Browser
How to record the screen of 360 Speed Browser - How to record the screen of 360 Speed Browser
How to shrink the obs window? -obs method to reduce window size
How to use beautification on obs? How to use beautification on obs
What to do if there is no sound after reinstalling the computer system - Driver Wizard Tutorial
How to practice typing with Kingsoft Typing Guide - How to practice typing with Kingsoft Typing Guide
How to upgrade the bootcamp driver? How to upgrade the bootcamp driver
How to change QQ music skin? -QQ music skin change method
Driver President Download-How to solve the problem when downloading driver software is very slow