The first thing to do after installing QT -- solve the conflict between QT auto-completion code shortcut keys and the shortcut key for switching input methods (Appendix: Query and delete software commands under fedora)

Source: Internet
Author: User

As long as you can get started with QT at the beginning of the year, you will be satisfied. With continuous learning, more and more problems have been discovered. In Linux, the shortcut key for Qt auto-completion code is Ctrl + space, and the shortcut key for switching the input method to startup is also the case, which is in conflict! As a result, QT cannot automatically complete the code or prompt function. The input permission may be higher than the shortcut key permission of the application software, or the installation sequence may be incorrect. No matter. In short, we need to solve the problem. My input method is fcitx. I wanted to modify the startup shortcut key, which was invalid for a long time. I also broke it. It was invalid to press Ctrl + space and press Ctrl + space, you can only press CTRL + ALT. I originally wanted to replace Ctrl + space with CTRL + ALT. Who knows?
I can't change it either. I can only use Ctrl + space to start the input method, and I am also disabled!

However, you can only change qtcreator. Method:

1. Open qtcreator.

2, point

<->Tools

-->Option

-->Environment

-->Keyboard

-->Find the texteditor title

-->Completethis-> ChangeAlt +/

By the way, during Android development, if eclipse detects that the current system environment is Chinese, eclipse will automatically change the code completion shortcut key Ctrl + space to Alt + /, this is really better.

In addition, the same is true for Qt development in windows, except that it is easy to modify the keyboard shortcut for changing the input method.

Next, uninstall fcitx and install a new one. Frequently Used commands for detaching software under fedora:

1. Run the rpm-Q-a command to query the installed packages. All installed packages are listed. -Q indicates query, and-a indicates all.

If rpm-Q fcitx is used to query whether fcitx is installed and the name of the complete fcitx package

2. Run rpm-e fcitx to uninstall fcitx. This is generally the method for installing software with RPM. If this command cannot be uninstalled, use the following

3, yum remove fcitx

Then refer to the example here.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.