Usaginomimi
Usaginomimi

Reputation: 13

Running an IME with Qt Widget

I can't get an IME to work with a Qt Widget (the goal is to write Japanese characters with a western keyboard). I can't activate the IME in the taskbar when I launch a simple test software (a QLineEdit in a QMainWidow).

I set the Qt::WA_InputMethodEnabled to true for the QLineEdit widget only, then also for the QMainWindow. This has no effect.

The IME works fine with a text editor like Xed.

I'm using:

What can I do?

Upvotes: 0

Views: 283

Answers (1)

Usaginomimi
Usaginomimi

Reputation: 13

Qt5

The file libfcitxplatforminputcontextplugin.so is required in the directory:

[...]/Qt/5.xxx.xxx/gcc_64/plugins/platforminputcontexts

Upvotes: 0

Related Questions