Results 1 to 3 of 3

Thread: Qt5: custom input contexts gone? How to convert from Qt4 QInputContext?

  1. #1
    Join Date
    Jun 2010
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt5: custom input contexts gone? How to convert from Qt4 QInputContext?

    Hi, I have a Qt4 app that is using a QInputContext to implement a custom keyboard, but QInputContext seems to be gone from Qt5, what is the recommended way to do a custom input method now?

  2. #2
    Join Date
    Jan 2006
    Posts
    132
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt5: custom input contexts gone? How to convert from Qt4 QInputContext?

    Wish I could help, but I am stuck currently also at the same point.

    The best I found so far seems to be this halfway japanese and halfway english slides:

    http://de.slideshare.net/takumiasaki/qt5-input-method

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt5: custom input contexts gone? How to convert from Qt4 QInputContext?

    Input context handling is now done by the platform abstraction plugins (QPA), by implementing a QPlatformInputContext derived class and returning it from the plugin's QPlatformIntegration subclass instance.

    There are a lot of examples in the existing QPA plugins, to be found in qtbase/src/plugins/plastforms

    Cheers,
    _

Similar Threads

  1. Replies: 1
    Last Post: 8th September 2012, 06:59
  2. QInputContext for X11
    By dushyant1000 in forum Newbie
    Replies: 0
    Last Post: 9th December 2011, 14:31
  3. Replies: 4
    Last Post: 24th July 2009, 08:48
  4. QInputContext
    By 83.manish in forum Qt Programming
    Replies: 1
    Last Post: 16th July 2008, 06:12

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.