QT Creator is a lightweight integrated development environment. In Ubuntu system operation, you cannot input Chinese when using QT. How to deal with this situation? The following small series will tell you how Ubuntu can solve the problem that QT can't input Chinese.
1 installed Sogou input method, (if you want to use ubuntu own input method is also no problem, it is not installed)
The search Gouguan network to download a version of linux Sogou input method, the installation of the official website steps can be installed.
2 qt5 installation, look for qtcreator in the software center, you can install it directly.
3 Modify the configuration file, in your home folder, look for the profile file (profile is hidden file, press ctrl+H, all files can be found), add in the last line:
< $>>QQIRIR,PATH=$PATH:$QTDIR/bin
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
#IBus设置
export XMODIFIERS=“@ Im=missing”
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=IBus
export IBus &
export LC_CTYPE=zh_CN.utf-8
4 Uninstalling IBus Enter sudo apt-get install ibus in the terminal,
5 After logging out or restarting, install ibus again,
After installation, enter system setup ->Language support Change the keyboard input mode to fcitx (because Sogou input method can only work under fcitx),
6 Log out again
7 Install ibus-qt4 Enter apt-get install libus- in the terminal Qt4
8 Log out again
9 Open qt creator so that you can enter A.
The input method shortcuts can be set automatically, but the Sogou input method and the sunpinyin input method should not be repeated.
You can enter ibus-setup in the terminal for ibus related configuration.
The above is to solve the Ubuntu QT can not input Chinese method, if you have encountered the same problem, you can use the method described in this article for processing, I hope to help you.
When we are working on a Linux system, we need to burn the image file to a DVD, so
Ubuntu is one of the Linux distributions. Unlike Windows, Ubuntu is used in software centers. So wha
The touchpad is the mobile cursor-enabled device on the notebook. It usually has a shortcut key to e
Arch Linux is a lightweight Linux system. Learning Arch Linux will give you a bette
Linux system how to build ldap server
Linux ifconfig command usage summary
How to use the touch command under Linux?
Linux how to use the umount command to force the file system to be unmounted
Linux setitimer function operation skills
How to compile and install Mono notes in Linux system
Linux uses the scp command to remotely transfer files.
Using the command line to improve the management efficiency of Windows Server 2008
Microsoft WP8.1 Notification Center custom settings so designed?
How to use a location in Win10 to manage all storage space? The
Windows 10 Build 14385 Update Highlights
What if the Win7 weather widget can't be used?
How does Win8 cleverly bypass the web protection mechanism and successfully copy web pages?
How does Win10 play games with Cortana? Win10 and Xiaona play the game
What should I do if the Windows 7 broadband connection is disconnected automatically?
Win10 returns the taskbar to the bottom of the screen in two ways