cutie.monkey
15th July 2008, 01:59
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");
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
is there any problem with my code? please help... thnks...:confused:
I have a compile error using the QKeyEvent..
heres my code:
QKeyEvent *key = new QKeyEvent ( QEvent::KeyPress, Qt::Key_Tab, 0, 0, "Tab");
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
is there any problem with my code? please help... thnks...:confused: