Hello together,
i had an Problem with Code::Blocks, qt4 and qtOpenGl.
An easy example from
http://mih.voxindeserto.de/threadedcube.html I downloaded and want to build in Code::Blocks. After some Problems to Found the QT Libaries I have only one error. And I don't know how I can solve it.
I get every time the Error Message:
||=== qt4test, Debug ===|
exampleglwidget.cpp|2|error: QMouseEvent: No such file or directory|
exampleglwidget.cpp||In member function ‘virtual void ExampleGLWidget::mouseMoveEvent(QMouseEvent*)’:|
exampleglwidget.cpp|34|error: ‘class QMouseEvent’ has no member named ‘buttons’|
exampleglwidget.cpp|39|error: ‘class QMouseEvent’ has no member named ‘buttons’|
||=== Build finished: 3 errors, 0 warnings ===|
Why Code:Blocks couldn't find QMouseEvent?
The Inclue
he found, also if I insert the
but then the class QMouseEvent has no member named buttons always displayed.
In KDevelop the same code is build without Errors. But I don't like KDevelop, I want to use Code:Blocks.
Can somebody help me?