Author Topic: QGroupBox seg fault  (Read 2055 times)

raybert

  • Full Member
  • ***
  • Posts: 233
    • View Profile
QGroupBox seg fault
« on: April 19, 2004, 02:13:17 pm »
Hi,

I\'m developing a new Z app using Qt/E and I\'m having a weird problem using a QGroupBox.  Has anyone seen anything like this?

Whenever I add a QGroupBox to my window, the x86 build (running in qvfb) gives a seg fault.  It builds fine; no warnings/errors.  The arm build runs fine (on the Z, of course) with the exact same UI file.  When I remove the group box the seg fault goes away.

I\'m using QTDesigner 1.1 and the standard Z Qt build environment.

I\'ve traced the crash to the showMainWidget() call.  Construction of the main widget is fine -- I\'ve stepped through it and confirmed that there are no null pointers.  I can\'t step into showMainWidget(), however.

The GB is contained in a tab page, which is contained in the main widget.  The GB contains several read-only labels arranged in a grid pattern.  The labels are nested properly (as shown by QTDesigner).  The main widget uses a vert layout, as does the tab, and the GB uses a grid.  I\'ve also tried (in desperation) putting the labels in a grid layout of their own and giving the GB a horz layout (no dice).

Any ideas?

~ray