Hello,
Here is (attached to this e-mail) the patch that enabled me to build
the Qt3 SVN tree with only Slackware-specific patches and the libpng14
patch as supplementary patch, on my Slackware64 13.37 with Qt4 and KDE4
installed alongside, and with /opt/kde3 prefix.
The patch:
—adds include/ symlinks which were present in qt-3.3.8b but not in SVN.
Especially, there was no symlink in include/private.
—but removes the include/png.h symlink, since nobody in their right
mind would use the included libpng 1.2.5, and the build system puts the
internal -I before -I/usr/include, making the build fail on
libpng-1.4-only systems because it uses the libpng-1.2.5 include instead
of the 1.4.5 one. Let's just let the user specify the libpng include if
it is nonstandard (BTW, I have some doubts regarding qt3's abilities to
detect libpng, since it didn't -I/usr/include/libpng14, the latter
being the include path specified in my libpng.pc).
—adds a missing #include <cstdlib> in qdesktopwidget_x11.c.
Did someone build the SVN version of Qt3 on distributions other than
Debian/Ubuntu or Slackware ?