Hi Eskil,

Thanks for your reply. In fact, I needed a QDialog. That's why I made my own
widget inherited from QDialog. Is there another way to do so ? maybe by
creating a simple QDialog and then adding my custom widgets ? btw i'm not
using Designer anymore... trying to do my guis without it (which is not so
easy).

Regards,

Vincent

On Fri, Jan 23, 2009 at 1:26 PM, Eskil Abrahamsen Blomfeldt <
[email protected]> wrote:

> Vincent Lebreil wrote:
>
>> Hey Eskil,
>>
>> have you been able to reproduce my crash with the code I sent you last
>> week ? and know where the bug could be ?
>>
>
> Hi,Vincent.
>
> It appears that Eclipse will crash if you make a custom widget which is a
> subclass of QDialog. In your project, the class EditCategoriesWidget is the
> one making trouble.
>
> If you are using this as a custom widget, I have a feeling you did not
> really intend for it to be a dialog, so I think it should be an easy
> work-around to make it a QWidget instead. I've tested this with your code,
> and Eclipse no longer crashes. The easiest way of fixing it is to edit the
> EditCategoriesWidget.jui file and setting the "class" attribute of the first
> widget to "QWidget" rather than "QDialog".
>
> Of course, the crash shouldn't really happen, so I'll see about fixing it
> for the next release of Qt Jambi.
>
> -- Eskil
>
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to