Hello,

I'm having a problem and I don't know how to fix it.
In my application I needed to create two custom widget, the first extends QLineEdit and the second extends the first one.

I've first started by creating the two Java classes, then I go into project settings and enable them as Custom widgets. They're now appearing in Qt Designer, all is cool and I can drag & drop my components on my form, everything is working well.

Now I save everything, and close eclipse. The next time I relaunch eclipse, when I open the *.jui file, Qt Designer won't show my custom widgets, in fact they will be show as QWidget and my 2 custom widgets are not shown the QWidgets tab in Qt Designer view,
(still they are referenced in the qtjambin/plugins/designer.xml file).

The problem I'm facing occurs every time, in every project I'm creating, I don't think its related to my workspace because I've tried to create a new one and create a clean empty project, adding 2 custom widgets to a form saving / launching. Everything is ok, but when I relaunch eclipse the Qt Designer eclipse integration won't show my custom widgets nor in the QWidgets tab view nor on the form.

I'm using the latest version of QtJambi and Eclipse Galileo.

The only fix I've found for the moment is simple, I won't close eclipse... but its fixing the problem only for me, because if one of my colleague check out the project from CVS, the newly created project won't show the custom widgets too.

My 2 custom widgets extends QLineEdit and both have a public constructor from a parent QWidget.

I can provide you the code for the two custom widgets if someone thinks there's a problem with it.

I've noticed that Qt Jambi Examples (custom widgets in the Qt Widget Box view) are always shown, is there a file I can modify to add my custom widgets, it could be a work around for me, since I have the control on the installed plugins here at work.

Can someone help me ?

Thanks in advance

--
Alexandre

----
Further informations:
- Eclipse Galileo Build id: 20090621-0832
with installed plugins:
- Qt Designer Fragment (win32, x86) v 1.1.3
- Qt Designer Plugin v 1.2.0
- Qt Jambi Fragment v 1.2.0
- Qt Jambi Plugin v 1.2.0
Qt Runtime Plug-in v 1.2.0
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to