Thursday, August 21st 2008, 5:05am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

jbd28

Beginner

Posts: 4

Location: Philadelphia, PA, USA

1

Friday, March 28th 2008, 4:30pm

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.
  • Go to the top of the page

Rate this thread