I am facing a strange problem, the following code was running successfully on Windows but when I tried to compile the same in LINUX
QKeyEvent *e=new QKeyEvent(QEvent::KeyPress,65,Qt::NoModifier,QStri ng("> "));
I end up with the following error :
error: expected unqualified-id before numeric constant
Though I tried including
#include <QtCore/QEvent>
#include <QtGui/QKeyEvent>
It didn't work.
Any Suggestions are welcome.
Thanks a ton
Bookmarks