Results 1 to 3 of 3

Thread: problem in Keyboard Plugin :QT-Embedded

  1. #1
    Join Date
    Jun 2009
    Location
    India
    Posts
    143
    Thanks
    16
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question problem in Keyboard Plugin :QT-Embedded

    Hi,


    Problem with Keyboard Plugin for qt-Embedded. we have a keyboard plugin written for imx31 processor compiled with qtopia and its working fine. We export the plugin in qtopia as below,to work with keyboard:

    export qws_keyboard = imx31kbdhandler:/dev/input/event0


    Now we need to use qt-Embedded and we are trying to use the same plugin used for Qtopia. We did the compilation by procedures and we did install. Without errors lib has been created and export is done as same as qtopia.

    export qws_keyboard = imx31kbdhandler:/dev/input/event0

    But the keyboard is not working.

    Query 1) Whether the environment variable for QTOPIA and QT_Embedded "qws_keyboard" is same or diffrent.

    Query 2) Is there any problem with the plugin compilation procedure on QT-Embedded.

    Query 3) For every application which is using keyboard , whether i need to point the plugin LIB file in .pro file?

    I am using QT-Embedded 4.4.0 and i have attached the keyboard handler for reference.

    Please help to resolve the problem.
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem in Keyboard Plugin :QT-Embedded

    Do you use the same binary plugin? I believe that Qt can be picky about that, so you'd better recompile the plugin using qmake from the latter Qt version that you intend to use on your target.

  3. #3
    Join Date
    Jun 2009
    Location
    India
    Posts
    143
    Thanks
    16
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Re: problem in Keyboard Plugin :QT-Embedded

    Quote Originally Posted by e8johan View Post
    Do you use the same binary plugin? I believe that Qt can be picky about that, so you'd better recompile the plugin using qmake from the latter Qt version that you intend to use on your target.

    Hi Johan,

    Thanks for your reply.

    We can able to figure out the problem. We were using QWSKeyboardHandler and QKeyboardPlugin ( Two classes Only avialable to qtopia core not to Qt-Embedded) . So we got error while compiling .

    So now how do we create a custom keyboard plugin for qt-Embedded . Is there any specific classes avialable for Qt-Embedded Keyboard plugin. Please help.

Similar Threads

  1. plugin loading problem
    By naresh in forum Qt Programming
    Replies: 6
    Last Post: 9th June 2007, 19:05
  2. QPSQL plugin problem
    By tuxi in forum Qt Programming
    Replies: 0
    Last Post: 12th March 2007, 20:44
  3. plugin problem
    By whoops.slo in forum Newbie
    Replies: 1
    Last Post: 8th February 2007, 10:03
  4. Keyboard shortcuts problem.
    By Lemming in forum Qt Programming
    Replies: 4
    Last Post: 5th April 2006, 16:12
  5. Replies: 7
    Last Post: 3rd February 2006, 10:20

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
  •  
Qt is a trademark of The Qt Company.