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.