confirmation qt3.1 RC1+gcc3.2, was: RE: RE: Qt-win32: nothing appears when program runs

Ralf Habacker kde-cygwin@mail.kde.org
Tue, 25 Mar 2003 21:10:23 +0100


> I got qt3.1 built with gcc 3.2. uic segfaults because Qt::white is not
> imported properly from libqt; I enabled the .dll.a out-implib and set
> --export-all-symbols (I edited the Makefile by hand, but it's supposed
> to go into cygwin-g++/qmake.conf). I believe the .dll.a is not
> necessary, but the --export-all-symbols is, so try adding
> -Wl,--export-all-symbols to your cygwin-g++/qmake.conf's QMAKE_LFLAGS var.

Thanks for this pointer. I've added this to the cvs.

BTW: Do you have tried ld from recent binutils packages. I have encountered
segfault if -Wl,--disable-runtime-pseudo-reloc wasn't specified [1].

> This also means: Confirmation for qt3.1 QT_CYGWIN_3_1_0_RC1, after
> adding the above mentioned LFLAGS and correcting the libqui symlink
> (test: Started designer).

The problem described in [1] is only reproduceable, if opening an example ui
file and clicking on a button. Without this fix, designer crashed with a
segfault.

> used ./config-thread with -enable-opengl. I
> had to cygwin-install libpng1.2-devel to get png.h (there seems to be no
> libpng-2-devel).
>
Added to the website. Thanks

Ralf