: >
: > Has anybody succeeded in compiling any qt applications with the above?
: >
: > I downloaded the source rpm for RedHat 5. Compiled qt, and samples with gcc
: > 2.7.something. But, when I upgraded to gcc-2.8.1 (which I really want to
: > keep because of its support for the standard c++ library), I found I
: > couldn't compile any qt samples. Has anybody else had this problem, or
: > better still, does anyone know how to fix it?
:
: Welcome to the world of the 2.8.x compilers. Same thing happens
: with egcs and pgcc
: (on which they are based). I just keep both versions around and
: rpm them in and out as needed.
See http://www.seawood.org/linux/patches/qt-1.31-gcc.patch. I made
this patch to clean up some compiler warnings and I had no problem
compiling the qt examples.
--
Regards,
Christopher
-----
Software Engineer / Unix Sysadmin / Linux Advocate / Prince Fanatic
http://people.qualcomm.com/cseawood/
My opinions are my own and not those of my employer.