Qt-interest Archive, December 2007
QTabWidget crashes designer on preview
Message 1 in thread
Dear All,
I have a complex QTabWidget with 6 pages - it provides
setup for various parts of a system - lots of QComboBoxes,
QLineEdits, QTableWidgets, etc.
I recently added some parts to it, but when I tried to preview
it in the designer, it displayed, but promptly segfaulted when
I tried to close the preview. (signal 11 in Linux). I've tried
this in Fedora 7 (open source Qt 4.3.2) and WinXP (open
source Qt 4.3.3) and it crashes in both.
It compiles cleanly, but when I try and run it in the program
it doesn't display properly - some boxes are invisible, although
they show up in the preview. It doesn't crash in the program
though.
Have I made a widget that is too complex for the system to
handle - memory problem? (I'm running on a Toshiba laptop
with 1GB of memory). I'll try it on a 4GB machine later today.
Have I tripped over a bug?
Advice please!
David Scriven
Looking for a X-Mas gift? Everybody needs a Flickr Pro Account.
http://www.flickr.com/gift/
--
[ signature omitted ]
Message 2 in thread
David,
It is almost impossible for a third-party to have an opinion on your problem
without actually seeing the ui file. I suspect that Qt support lots and lots
of controls and it should not crash.
My suggestion is to try your form through elimination, that is get back to a
previous version that worked, and then start adding gradually the new
controls until it crashes. Alternatively you can start from your current
version backwards by removing controls and trying the form until it doesn't
crash anymore. Then you'll at least pinpoint what crashes the form and
you'll have a better idea about what's going on and a better chance to fix
it.
B.C.
"David Scriven" <davidwriter@xxxxxxxxx> wrote in message
news:578556.89850.qm@xxxxxxxxxxxxxxxxxxxxxxxxxx
> Dear All,
>
> I have a complex QTabWidget with 6 pages - it provides
> setup for various parts of a system - lots of QComboBoxes,
> QLineEdits, QTableWidgets, etc.
>
> I recently added some parts to it, but when I tried to preview
> it in the designer, it displayed, but promptly segfaulted when
> I tried to close the preview. (signal 11 in Linux). I've tried
> this in Fedora 7 (open source Qt 4.3.2) and WinXP (open
> source Qt 4.3.3) and it crashes in both.
>
> It compiles cleanly, but when I try and run it in the program
> it doesn't display properly - some boxes are invisible, although
> they show up in the preview. It doesn't crash in the program
> though.
>
> Have I made a widget that is too complex for the system to
> handle - memory problem? (I'm running on a Toshiba laptop
> with 1GB of memory). I'll try it on a 4GB machine later today.
> Have I tripped over a bug?
>
> Advice please!
>
> David Scriven
>
>
>
>
>
> Looking for a X-Mas gift? Everybody needs a Flickr Pro Account.
>
>
>
> http://www.flickr.com/gift/
>
> --
> 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/
--
[ signature omitted ]