Re: Cannot start with Qt frontend

2002-09-17 Thread John Levon
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 i

Re: Cannot start with Qt frontend

2002-09-17 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Tue, Sep 17, 2002 at 04:49:48PM +0200, Jean-Marc Lasgouttes John> wrote: >> I tried to debug this further and did not come to any useful >> result. I have a question though: is it reasonable to make >> QWorkArea a QWidget as well as

Re: Cannot start with Qt frontend

2002-09-17 Thread John Levon
On Tue, Sep 17, 2002 at 04:49:48PM +0200, Jean-Marc Lasgouttes wrote: > I tried to debug this further and did not come to any useful result. I > have a question though: is it reasonable to make QWorkArea a QWidget > as well as a Workarea? Why doesn't it have a widget_ member that would > point to

Re: Cannot start with Qt frontend

2002-09-17 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> Now, I know what happens, but I do not know why. I fear Jean-Marc> this may be a compiler bug, and anyworkaround would be Jean-Marc> welcome. Basi

Re: Cannot start with Qt frontend

2002-09-12 Thread John Levon
On Thu, Sep 12, 2002 at 03:47:34PM +0200, Jean-Marc Lasgouttes wrote: > Huh? We are talking about havig scrollbar_ be a QScrollbar instead of > a QScrollbar*. How does that create double-free? Does qt do special > things with its objects? Yes. A widget added as a child is deleted when its parent

Re: Cannot start with Qt frontend

2002-09-12 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Thu, Sep 12, 2002 at 03:37:50PM +0200, Jean-Marc Lasgouttes John> wrote: >> Before trying it, I should probably ask "John, is that a good idea >> in the first place?". John> No. You'll get a double-free. Huh? We are talking about h

Re: Cannot start with Qt frontend

2002-09-12 Thread John Levon
On Thu, Sep 12, 2002 at 03:37:50PM +0200, Jean-Marc Lasgouttes wrote: > Before trying it, I should probably ask "John, is that a good idea in > the first place?". No. You'll get a double-free. regards john -- "To be fair i do look quite like a monkey ..." - Peter Reid

Re: Cannot start with Qt frontend

2002-09-12 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> What happens if you make scrollbar_ an instance of QScrollBar, Angus> not a pointer to QScrollBar? Before trying it, I should probably ask "John, is that a good idea in the first place?". I'm reluctant to try it if the result is t

Re: Cannot start with Qt frontend

2002-09-12 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Thu, Sep 12, 2002 at 03:19:45PM +0200, Jean-Marc Lasgouttes Andre> 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 >>

Re: Cannot start with Qt frontend

2002-09-12 Thread Angus Leeming
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

Re: Cannot start with Qt frontend

2002-09-12 Thread Andre Poenitz
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

Re: Cannot start with Qt frontend

2002-09-12 Thread Jean-Marc Lasgouttes
> "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->

Re: Cannot start with Qt frontend

2002-09-12 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Wed, Sep 11, 2002 at 05:07:52PM +0200, Jean-Marc Lasgouttes John> wrote: >> schuss: rpm -q qt-devel qt-devel-2.3.0-3 >> >> This is a redhat 7.1 installation, and I do not really have the >> option of upgrading it (OK, I can, but I'd

Re: Cannot start with Qt frontend

2002-09-11 Thread John Levon
On Wed, Sep 11, 2002 at 05:07:52PM +0200, Jean-Marc Lasgouttes wrote: > schuss: rpm -q qt-devel > qt-devel-2.3.0-3 > > This is a redhat 7.1 installation, and I do not really have the option > of upgrading it (OK, I can, but I'd rather avoid it). Is it supposed > to be good enough? I use 2.3.1 m

Re: Cannot start with Qt frontend

2002-09-11 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Wed, Sep 11, 2002 at 11:55:05AM +0200, Jean-Marc Lasgouttes John> wrote: >> #0 0x401e08b7 in QObject::queryMetaObject () at eval.c:41 #1 >> 0x401dfdfa in QObject::connect () at eval.c:41 #2 0x08389fb7 in >> QContentPane::QContentPane

Re: Cannot start with Qt frontend

2002-09-11 Thread John Levon
On Wed, Sep 11, 2002 at 11:55:05AM +0200, Jean-Marc Lasgouttes wrote: > #0 0x401e08b7 in QObject::queryMetaObject () at eval.c:41 > #1 0x401dfdfa in QObject::connect () at eval.c:41 > #2 0x08389fb7 in QContentPane::QContentPane (this=0x86a6638, parent=0x86a59d0) > at ../../../../lyx-devel/

Cannot start with Qt frontend

2002-09-11 Thread Jean-Marc Lasgouttes
I managed to compile with the Qt frontend, but: (gdb) run Starting program: /local/lasgoutt/qtbuild/src/./lyx Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. Xlib: extension "RENDER" missing on display "fantomas:0.0". Program received signa