Results 1 to 4 of 4

Thread: uim/Anthy Japanese Input

  1. #1
    Join Date
    Jan 2006
    Posts
    75
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default uim/Anthy Japanese Input

    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?

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: uim/Anthy Japanese Input

    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.

  3. #3
    Join Date
    Jan 2006
    Posts
    75
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: uim/Anthy Japanese Input

    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 :{

  4. #4
    Join Date
    Jan 2006
    Posts
    75
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Talking Re: uim/Anthy Japanese Input

    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

Similar Threads

  1. How to enable keyboard and mouse as input in qtopia-2.1.1
    By hvreddy1110 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 12th October 2006, 10:30
  2. Replies: 2
    Last Post: 31st May 2006, 21:52
  3. Discard user input events in QEventLoop.
    By Ben.Hines in forum Qt Programming
    Replies: 2
    Last Post: 17th April 2006, 20:49
  4. How Qt/Embedded detects the keypad input from device?
    By mahe2310 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 4th April 2006, 07:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.