hi there!
I have a compile error using the QKeyEvent..
heres my code:
QKeyEvent *key = new QKeyEvent ( QEvent::KeyPress, Qt::Key_Tab, 0, 0, "Tab");
To copy to clipboard, switch view to plain text mode
before, everything works fine. but when i added the <X11/Xlib.h> and <X11/keysym.h> library an error occured.
heres the error:
/root/tskeyboard/src/tskeyboardwidget.cpp:166: error: expected unqualified-id before numeric constant
/root/tskeyboard/src/tskeyboardwidget.cpp:166: error: expected unqualified-id before numeric constant
To copy to clipboard, switch view to plain text mode
is there any problem with my code? please help... thnks...
Bookmarks