Home > other >  In the QT QTextEdit switch input method in the problem
In the QT QTextEdit switch input method in the problem

Time:11-21

I wrote a small program used QTextEdit space, in the full version of red hat enterprise version 5 write no problem, both in Chinese shows and Chinese input method can; Now in not fully installed in the system to run, Chinese shows no problem, at the command terminal input method can type in Chinese, file name can also be a Chinese; The question now is the time to input data in the QTextEdit, input method can't switch to Chinese; Another after writing the Chinese paste in other places also have no problem, could you tell me how to solve this problem?

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 stick

CodePudding 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);
  • Related