Vincent Lebreil wrote:
> Since I cannot use QtDesigner plugin for Eclipse anymore, I have tried 
> to use designer included in QtJambi distrib by running designer.bat. 
> The problem is that I am not able to include (or promote ?) my custom 
> widget cause designer is asking me for including header files (.h). 
> I'm not sure to run the right designer. I thought this was the 
> standalone designer for QtJambi but it seems to be the one for C++.

Designer needs to load some plugins in order to be in Qt Jambi mode. If 
it has loaded correctly, you should get a message that the "promote 
widget" feature is unavailable when using Designer with Qt Jambi. In 
order to use custom widgets with Qt Jambi Designer, you will need to 
edit an XML file and place it in

    /path/to/qtjambi/plugins/qtjambi

There's a file called qtjambi_examples.xml there which you can look at 
as a reference.

As for the problem of loading the plugins. Could you select the "About 
plugins" item from the "Help" menu in Designer and see if it says 
anything about the Qt Jambi plugins?

>
> I'm stuck. QtJambi Designer plugin for Eclipse doesn't work anymore 
> and I don't know how to use the standalone designer (if designer for 
> Java exists). Some help would be really appreciated. :)

About the crash you are seeing in Eclipse. Most likely one of your 
custom widgets is causing the crash when it's being instantiated by the 
widget box. Is there any way you can narrow this down into some code 
that you could send me, so that I could test it here?

-- Eskil


_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to