[Qt-interest] QStackedWidget crash, but only when running in debugger
jjDaNiMoTh
jjdanimoth at gmail.com
Wed Nov 4 16:02:52 CET 2009
2009/11/2 Andre Somers <andre at familiesomers.nl>:
> Hi,
[cut]
> QWidget* configuration = ext->configurationWidget(0);
>
> if (configuration) {
>
> ui.propertyStack->addWidget(configuration); // crash here?
>
> connect(ext, SIGNAL(closeConfiguration()), this,
> SLOT(closePropertyConfiguration()));
>
> }
Hi Andre,
try to see who is the parent of configuration widget before invoking
addWidget, and if it is valid or not. I think the problem is here.
Let us know!
More information about the Qt-interest-old
mailing list