Results 1 to 2 of 2

Thread: QT keyboard plugin

  1. #1
    Join Date
    Sep 2011
    Posts
    2
    Qt products
    Qt3
    Platforms
    MacOS X

    Default QT keyboard plugin

    As I was trying to add keyboard plugin to create and liblbd.so so that my keyboard application which calls keypressevent() uses this.I could not create required keyboard plugin as I was trying to configure , following are my errors

    embedded/qkbdlinuxinput_qws.cpp:65: error: expected `)' before '*' token
    embedded/qkbdlinuxinput_qws.cpp:75: error: ISO C++ forbids declaration of 'QWSLinuxInputKeyboardHandler' with no type
    embedded/qkbdlinuxinput_qws.cpp:75: error: expected ';' before '*' token
    embedded/qkbdlinuxinput_qws.cpp:82: error: 'QWSLinuxInputKeyboardHandler' has not been declared
    embedded/qkbdlinuxinput_qws.cpp:82: error: ISO C++ forbids declaration of 'QWSLinuxInputKeyboardHandler' with no type
    embedded/qkbdlinuxinput_qws.cpp: In function 'int QWSLinuxInputKeyboardHandler(const QString&)':
    embedded/qkbdlinuxinput_qws.cpp:83: error: only constructors take base initializers
    embedded/qkbdlinuxinput_qws.cpp:85: error: 'd' was not declared in this scope
    embedded/qkbdlinuxinput_qws.cpp:85: error: invalid use of 'this' in non-member function
    embedded/qkbdlinuxinput_qws.cpp: At global scope:
    embedded/qkbdlinuxinput_qws.cpp:88: error: expected constructor, destructor, or type conversion before '::' token
    embedded/qkbdlinuxinput_qws.cpp:93: error: 'QWSLinuxInputKeyboardHandler' is not a class or namespace
    embedded/qkbdlinuxinput_qws.cpp:98: error: expected `)' before '*' token

    Kindly let me know if anyone as added with QT 4.6.3 or 4.7.4

    Thanks in advance

    regards
    Ravi chandran

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

    Default Re: QT keyboard plugin

    These are compile errors.
    Looks like a syntax error.
    Make sure your syntax is correct.
    ==========================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. how to create a plugin of keyboard-driver for Qt-Embedded
    By sanjeet in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 31st August 2011, 08:46
  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
  •  
Qt is a trademark of The Qt Company.