GLwidget plugin causes Qt Creator to crash
I’m using Qt Creator 2.2.1 under Redhat
I created a simple test designer plugin. Simply subclassses a widget. I copy this to the plugins/designer directory and it works
I try again. This time subclassing GLWidget. Qt Creator crashes as soon as I open a .ui file.
I get the error message:
Cannot mix incompatible Qt library (version 0×40703) with this library (version 0×40704)
Aborted (core dumped)
Clearly this is something to do with Qt Creator using 4.7.4 libraries and my having qt 4.7.3 installed but is there a way to get these to work nicely together?
test.h
- #ifndef TEST_H
- #define TEST_H
- #include <QtGui/QWidget>
- #include <QtOpenGL/QtOpenGL>
- {
- Q_OBJECT
- public:
- };
- #endif
test.cpp
2 replies
You must log in to post a reply. Not a member yet? Register here!

