I'm using Ubuntu linux on my home system and am trying to create a simple Japanese dictionary application. Unfortunately when I try to type Japanese in a QTextBox in my application, I can't. I'm not sure what I'm doing wrong. Any suggestions?
I'm using Ubuntu linux on my home system and am trying to create a simple Japanese dictionary application. Unfortunately when I try to type Japanese in a QTextBox in my application, I can't. I'm not sure what I'm doing wrong. Any suggestions?
I think this is not so much Qt issue as a locale and language/font settings of your system.
Quick search on google sugestes I might be right:
http://mail-index.netbsd.org/regiona...3/02/0000.html
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
High_flyer,
Thanks for the reply. It may well be that I don't have my system properly configured for japanese input in terms of Qt, but, I can already use Japanese input in Firefox, gtk applications, and kde applications. For instance kiten, the kde Japanese dictionary, accepts the default <shift> + space bar and successfully switches to Japanese input.
If anyone has experience with setting up their system so that a pure Qt application will recognize Japanese input, I'd be grateful if you could describe how to do this.
Anyway, I'll try working with the uim files if I can figure it out, but it is a bit curious that my other applications do work while Qt doesn't :{
Well after going to the uim website, I think I've got it:
GTK_IM_MODULE=uim
export GTK_IM_MODULE
QT_IM_MODULE=uim
export QT_IM_MODULE
uim-xim &
XMODIFIERS=@im=uim
export XMODIFIERS
I put this into xsession and all seems well now
Bookmarks