Any (self-compiled) Qt app crashes.

Michael Goffioul kde-cygwin@mail.kde.org
Wed, 04 Dec 2002 17:43:11 +0100


> > Windows2K
> > cygwin-1.3.17-1
> > binutils-20020516 (from kde-cygwin site, "ld --version" reports
> >         2.11.92 20011001)
> > gcc-2.95.3-10
> 
> Forgot to mention I'm using qt-3.0.4-b1 as downloaded from the
> kde-cygwin site.

Answering to myself. It seems that the g++ flags used caused the
crashes. I used cygwin-g++ (instead of win32-g++) for Makefile
generation with qmake, and the resulting executables didn't crash
anymore. Everything runs OK.

I don't know which flags are the cause, but now the flags are:

CXXFLAGS -> "-pipe -Wall -W" (no -fvtable-thunks anymore)
LFLAGS -> "-Wl,-rpath,/usr/lib/qt3/lib ... -lqt -lXext -lX11"

Michael.

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul@imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------