I am new to Qt. I try to install the designer plugin on Mac OSX 10.10 that is provided by qglviewer. I do as the http://libqglviewer.com/installUnix.html#plugin says. I successfully compile and install the plugins.
cd designerPlugin
qmake
make
make install
However, I still cannot find the widget in the qt designer. My Qt is 5.4. The plugins(libqwebview.dylib) in really in the $QTDIR/plugins/designer but the designer just doesn't load it. Other three plugins like libqdeclarativeview.dylib in $QTDIR/plugins/designer is loaded in the designer.
How can I load the plugin in my qt designer?Thanks for your help!
Qt Creator is just an IDE, so let's forget about it for a moment. Its version is irrelevant.
We have following objects that we must pay attention to:
The version of Qt (not Qt Creator) that you're compiling the plugin with.
The version of Qt that someone else used to compile the Qt Designer with.
The Qt Designer that someone else had compiled, that you're using.
You must ensure that 1 and 2 are binary compatible and have the same binary compatibility key. Only then will 3 load your plugin.
The simplest way of ensuring that is to compile your plugin and Qt Designer using the same version of Qt.
Simply download Qt Designer sources, open them up in Qt Creator, and compile them, just as you did for your plugin.