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 0x40703) with this library (version 0x40704)
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?
class Test : public QGLWidget
Test(QWidget *parent = 0);
Test::Test(QWidget *parent) :
Qt Creator/Designer plugins need to be built with the same Qt version. You should probably rebuild Qt Creator from source.
Well, this works. It's rather unsatisfying though, since this means everyone on the team needs an alternative build rather than using the standard binary provided on the qt download page. Also seems to cause a crash when loading other plugins, presumably because they're compiled with 4.7.4.