I have a similar problem if I use keyPressEvent. It seems parameter is not recognized.
>CSequencesDialog.cpp
1>.\CSequencesDialog.cpp(486) : error C2027: use of undefined type 'QKeyEvent'
1> c:\qt\2009.01\qt\include\qtgui\../../src/gui/kernel/qwidget.h(78) : see declaration of 'QKeyEvent'
1>.\CSequencesDialog.cpp(486) : error C2227: left of '->key' must point to class/struct/union/generic type
1>.\CSequencesDialog.cpp(486) : error C2653: 'Qy' : is not a class or namespace name
1>.\CSequencesDialog.cpp(486) : error C2065: 'Key_Esc' : undeclared identifier
1>.\CSequencesDialog.cpp(486) : error C2027: use of undefined type 'QKeyEvent'
1> c:\qt\2009.01\qt\include\qtgui\../../src/gui/kernel/qwidget.h(78) : see declaration of 'QKeyEvent'
1>.\CSequencesDialog.cpp(486) : error C2227: left of '->ignore' must point to class/struct/union/generic type
1>CEditor.cpp
1>Generating Code...
>CSequencesDialog.cpp
1>.\CSequencesDialog.cpp(486) : error C2027: use of undefined type 'QKeyEvent'
1> c:\qt\2009.01\qt\include\qtgui\../../src/gui/kernel/qwidget.h(78) : see declaration of 'QKeyEvent'
1>.\CSequencesDialog.cpp(486) : error C2227: left of '->key' must point to class/struct/union/generic type
1>.\CSequencesDialog.cpp(486) : error C2653: 'Qy' : is not a class or namespace name
1>.\CSequencesDialog.cpp(486) : error C2065: 'Key_Esc' : undeclared identifier
1>.\CSequencesDialog.cpp(486) : error C2027: use of undefined type 'QKeyEvent'
1> c:\qt\2009.01\qt\include\qtgui\../../src/gui/kernel/qwidget.h(78) : see declaration of 'QKeyEvent'
1>.\CSequencesDialog.cpp(486) : error C2227: left of '->ignore' must point to class/struct/union/generic type
1>CEditor.cpp
1>Generating Code...
To copy to clipboard, switch view to plain text mode
Bookmarks