[Qt-interest] eclipse qt and custom widgets... a simple solution?

Sandro Cavazzoni s.cavazzoni at adss.it
Fri Nov 20 11:47:07 CET 2009


Hi guys,
i've a question about custom widgets and eclipse with qt integration.
I'm developing an application based on a self made lib.
This lib has many elements (qobjects, qwidgets, qmainwindows and 
qdialog) and using it by hand it work correctly.
Now i want to show my qwidgets in "QT C++ Widget Box" so i'll can use it 
in forms with nokia designer plugin.

I tried to read and test this guide 
http://doc.trolltech.com/4.5/designer-worldtimeclockplugin.html
but i have many problems.
First of all I cannot embedded the code of "MyClassPlugin" on my lib 
because compiling it with
CONFIG      += designer plugin
i cannot link it anymore correctly with my application

Yes, probabilly I could make another lib (only with "MyClassPlugin") but 
it seem a complex work! Every time i have to make an external dll.. put 
it in designer plugins folder, copy in it all my external dll 
dependecies (there are a lot) and change it every time i recompile my 
dll (and i did it many times every day)

Exist a simplest way? When in the past i used microsoft visual studio 
(with c#) i always found automatically my projects widgets in "widgets 
box" without copying every time all dlls... i hope to do the same thing 
with qt and eclipse.

Someone know a more practical way to use custom widgets in eclipse 
without making many dlls and without copy it around my drive?

Thank you very much

Sandro



More information about the Qt-interest-old mailing list