max components in layout? (qt 3.2.3)
Hi,
I have a main dialog with a lot of objects within it (the main culprit being a QWidgetStack with 9 layouts each more complicated than the next). I've recently noticed that when I do so much as add another label anywhere within the dialog in Designer, the program compiles fine but segfaults with the following backtrace (on a linux red hat enerprise 3 system):
#0 0x00000002 in ?? ()
#1 0x081a0126 in QWidget::polish ()
#2 0x081c5b60 in QLabel::minimumSizeHint ()
#3 0x081c59c9 in QLabel::sizeHint ()
#4 0x081c524e in QLabel::setAlignment ()
#5 0x080f3d0d in ls3 (this=0xbfff96b0, parent=0x0, name=0x0, modal=false, fl=0)
at .ui/ls3.cpp:2732
#6 0x0812342d in main (argc=141852712, argv=0x2) at main.cpp:34
When I remove the object from designer and recompile, everything works OK. Is this a Qt bug associated with a "maximum component" limit, and if so, how can I increase it? I'm starting to port code to other .ui forms and loading them in my main dialog's initialization, but I really want to understand why this error is occuring. Thanks.