Compiling Qt 1.45 with gcc 3

Qt 1.45 has a deprecated xor() function, which clashes with the ANSI C++ keyword 'xor'. There is some #if magic to avoid compiler errors, but it doesn't completely work. This patch should let Qt 1.45 compile with gcc 3 and prereleases like Red Hat's gcc 2.96.

Download patch: qt-1.45-gcc3.patch.


Edward Avis
Last modified: Fri Feb 22 14:40:41 GMT 2002