CodePudding user response:
Problem description it again: I wrote a QT application used QTextEdit controls in the full version of red hat enterprise version 5 input method can switch to the Chinese display is no problem now want to let it run in is in the red hat enterprise version 5 but chose a few results of the installation package can't switch to Chinese input method only in English but shown on the controls Chinese is no problem, please how to solve?CodePudding user response:
You have to send a program, or how to know,,,CodePudding user response:
May be the problem of the system itself, look at the system language support in the "enable complex character input support" is there a hook, PS: I is Ubuntu, previously encountered such a problem, chose this was no problem, I do not know your with different,CodePudding user response:
Thanks for your reply program more also can't see is a key problem in QTextEdit couldn't input Chinese input method can't switch to the Chinese did I go to see the "enable complex character input support"CodePudding user response:
There's no way my red hat inside only input configuration tool and SCIM input method Settings but didn't you say that!CodePudding user response:
Six months ago when I was with QDevelop met similar things, start the program in QDevelop environment, in the edit control can't switch input method, but can put the Chinese paste in, display and processing works, program from the development environment, directly in the system running under all normal, it can switch, can input,CodePudding user response:
6th floor then how do you solve?CodePudding user response:
Depressed no one heel stickCodePudding user response:
?????CodePudding user response:
When I was in a statically compiled encountered this problem, found that seems to be related to Qt plug-in, in engineering QTPLUGIN +=ibusplatforminputcontextplugin PRO file, add Q_IMPORT_PLUGIN code (QIbusPlatformInputContextPlugin);