[Qt-interest] Eclipse Integration for custom widget plugins
majo huber
majo.huber at googlemail.com
Wed Jun 2 13:32:47 CEST 2010
Hi at all,
I just wanted to share my solution to the problem:
All you need to do is to recompile the qt framework with the following
switches:
./configure -release -qtnamespace QtCppIntegration -qtlibinfix CppIntegration
So you'll get a special qt toolchain for building eclipse plugins. Be
aware that the qt version that was used to build the eclipse
integration must match your new toolchain version.
Everything is mentioned here but in a form that could be misunderstood:
http://doc.trolltech.com/qt-eclipse-1.5/eclipse-integration-custom-designer-plugins.html
Cheers,
majo
2010/6/1 majo huber <majo.huber at googlemail.com>:
> Hi at all,
>
> I wanted to ask if anybody out there got the eclipse integration with
> custom widget plugins working?
>
> I want to use eclipse for designing our GUI since this is our main IDE
> and it's pretty easy to switch between different toolchains. That
> seems to be not that easy with QTCreator.
>
> In a first step I compiled the thumbwheel widget from QT and
> integrated the plugin with QTCreator so that I am able to use it in
> its designer like e.g. the normal button widget. That works fine.
>
> Then I was trying to do this also with eclipse. I copied the plugin
> library (libthumbwheelplugin.so) to
> /home/$USER/.eclipse/org.eclipse.platform_3_5_0_1559651261/plugins/com.trolltech.qtcppdesignerplugins.linux.x86_64/
> and restarted eclipse with eclipse -clean. But nothing happend. The
> Thumbwheel doesn't appear in the Qt C++ Widget box.
>
> Any help would be greatly appreciated,
> Thanks,
> majo
>
More information about the Qt-interest-old
mailing list