Results 1 to 6 of 6

Thread: how to create a plugin of keyboard-driver for Qt-Embedded

  1. #1
    Join Date
    Apr 2011
    Location
    Hyderabad
    Posts
    86
    Thanks
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default how to create a plugin of keyboard-driver for Qt-Embedded

    Hi,

    i am working on Qt for Embedded.

    i have to create a plugin for keyboard-handler on ARM based iMX board.

    can you tel me how to create a plugin for keboard handler, how to compile it and where(directory) i should have to put that handler. plz tel me step by step, becouse first time i am going to create any plugin.

    Qt version is 4.7.3
    Last edited by sanjeet; 29th August 2011 at 12:50.

  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: how to create a plugin of keyboard-driver for Qt-Embedded

    can you tel me how to create a plugin for keboard handler, how to compile it and where(directory) i should have to put that handler. plz tel me step by step, becouse first time i am going to create any plugin.
    We can only repeat what is in the docs, but with less detail.
    So you better start there.
    When you get stuck, or have specific implementation questions, post them here.
    http://doc.qt.nokia.com/latest/qkbddriverplugin.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. The following user says thank you to high_flyer for this useful post:

    sanjeet (29th August 2011)

  4. #3
    Join Date
    Apr 2011
    Location
    Hyderabad
    Posts
    86
    Thanks
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: how to create a plugin of keyboard-driver for Qt-Embedded

    Quote Originally Posted by high_flyer View Post
    We can only repeat what is in the docs, but with less detail.
    So you better start there.
    When you get stuck, or have specific implementation questions, post them here.
    http://doc.qt.nokia.com/latest/qkbddriverplugin.html
    hi
    first of all thanks for responding me.
    i have already gone through that document, i was trying to that way only.

    But still i am not able to create it, so there is problem.
    that's why i have putted question here, if it's possible can you explain me.
    i am using Qt-4.7.3

  5. #4
    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: how to create a plugin of keyboard-driver for Qt-Embedded

    But still i am not able to create it, so there is problem.
    To help you we need to know what have you tried, and what is the problem you have.
    If you explain that, we might be able to help you.
    We can't just guess what you have done, and what doesn't work for you.
    ==========================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.

  6. #5
    Join Date
    Apr 2011
    Location
    Hyderabad
    Posts
    86
    Thanks
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: how to create a plugin of keyboard-driver for Qt-Embedded

    sorry high_flyer,

    i solved my problem,i was trying in wrong direction.
    so there is no keyboard plugin is required right now.

    but i haven't able to create keyboard plugin, it was giving compile error.
    i was doing in this way:
    1. i had created one kbdHandler class deriving from QWSKeyboardHandler
    2. i had created one kbdDriverPlugin derived from QKbdDriverPlugin class and in this
    new class i had re-implemented create function in which i am using kbdHandler .

    If anyone have idea how to create keyboard plugin( how to compile etc) then suggest me.

  7. #6
    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: how to create a plugin of keyboard-driver for Qt-Embedded

    but i haven't able to create keyboard plugin, it was giving compile error.
    A compile error means something with your code is wrong (i.e either syntax or C++ rules) and with out the exact error, and the code, we can't help you.

    If anyone have idea how to create keyboard plugin( how to compile etc) then suggest me.
    The 'how' is explained in the link I gave you.
    Just read and follow the instructions, it doesn't get simpler than that.
    Why do you think that instructions you get here will be any better?
    ==========================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.

Similar Threads

  1. source code for odbc driver or MySql driver in arm-embedded-linux
    By sattu in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 24th January 2011, 10:11
  2. Qt embedded Keyboard Plugin problem
    By abar9 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 20th January 2010, 05:37
  3. Custom Keyboard Plugin Error-QT Embedded
    By augusbas in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 3rd August 2009, 07:49
  4. Not Working - USB Keyboard Plugin in Qt-Embedded
    By augusbas in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 16th July 2009, 09:57
  5. problem in Keyboard Plugin :QT-Embedded
    By augusbas in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 15th July 2009, 04:58

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.