On Tue, Sep 17, 2002 at 05:33:18PM +0200, Jean-Marc Lasgouttes wrote: > So, does QWorkArea need to be itself a widget?
You'll need to do some restructuring. For example QtView needs to add the widget as a child instead of QWorkArea etc. > > I know this looks like a stab in the dark, but this is exactly what I > am doing :) I really cannot understand why "new QScrollBar" could > return an invalid pointer. Are there cases when this is supposed to > happen in C++ or Qt? Do Qt constructors use exceptions? I'm pretty sure this a run of the mill compiler bug. Why don't you try a different compiler ? Or stepping through the assembly ? regards john -- "Be advised. Your bedroom may quietly detach from the house while you sleep." - Sarah Bee