I installed Ubuntu Natty 2011.04 from scratch, and then mozc (Google's IME, which I prefer to other options) which provides Japanese input.
It works in all applications EXCEPT Qt-based applications like Opera, Anki, ksnapshot, ...
How can I fix it, so that I can type Japanese in Qt/KDE applications as well?