|
|
On 05.07.06 21:58:56, denebet wrote:
> What could cause a segfault while adding a valid widget to a valid QLayout ?
Anything or everything. Without some code that's not easy to tell.
> In my code, I have a widget W and a layout L
>
> if I do W->show() it is ok (the widget shows). If remplace by
> L->addWidget(W) I have a segfault though L->parent() is OK .
Well, what backtrace does your debugger show you? That normally tells
you where exactly it crashes and might give a hint to the why too.
Andreas
--
In the stairway of life, you'd best take the elevator.
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|