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.