On Thursday 12 September 2002 2:25 pm, Andre Poenitz wrote: > On Thu, Sep 12, 2002 at 03:19:45PM +0200, Jean-Marc Lasgouttes wrote: > > >>>>> "Jean-Marc" == Jean-Marc Lasgouttes > > >>>>> <[EMAIL PROTECTED]> writes: > > > > Now, I know what happens, but I do not know why. I fear this > > may be a compiler bug, and anyworkaround would be welcome. > > Basically the problem is in > > > > QWorkArea::QWorkArea(int, int, int, int) > > > > : WorkArea(), QWidget(qApp->mainWidget()), painter_(*this) > > > > { > > scrollbar_ = new QScrollBar(QScrollBar::Vertical, this); > > content_ = new QContentPane(this); > > [...] > > > > gdb says: > > > > (gdb) p scrollbar_ > > $1 = (QScrollBar *) 0xf > > After the 'scrollbar_ = ' line?
What happens if you make scrollbar_ an instance of QScrollBar, not a pointer to QScrollBar? Angus