Results 1 to 2 of 2

Thread: QT platform Abstraction and custom input driver

  1. #1
    Join Date
    Sep 2012
    Posts
    3
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default QT platform Abstraction and custom input driver

    I'm doing a Qt port to a new device based on the QPA (Lighthouse) interfaces.

    I cannot find any documentation on how to do a custom input driver (I cannot use the standard linux keyboard driver). The only documentation I can find is based on "embedded" using QWSKeyboardHandler/QKbdDriverPlugin however when adding "-embedded mips" to configure, "-qpa" is disabled by the configure script, so the remaining QPA based integration stops compiling.

    My question is: What is the right way of coding a custom input driver for QPA?

    Thanks a lot for any replies

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QT platform Abstraction and custom input driver

    I think a general solution would be to provide a listener that would read data from your input device and inject it into Qt's event loop.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Qt Platform Abstraction support for truetype fonts
    By Wotsgreen in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 9th September 2012, 15:48
  2. Troubleshooting swipe motion on custom embedded platform.
    By oqtdev in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 1st February 2012, 02:37
  3. Custom gfx driver(subdriver) with Transformed gfx driver - is this possible?
    By slscripters in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 24th June 2010, 10:25
  4. custom a display widget that can take input from touch panel
    By wesley in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 25th January 2010, 08:49
  5. Abstraction required in Class
    By salmanmanekia in forum Qt Programming
    Replies: 12
    Last Post: 29th July 2008, 17:57

Tags for this Thread

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.