building qt3 in latest -current with gcc >= 4.6
1 Attachment(s)
Not so much a question but a heads-up.
I was building the qt3 SlackBuild for ike on -current (which uses gcc-4.7 now,) and that fails due to missing include defining ptrdiff_t; a similar issue cropped in Debian, so I adapted the patch there for the SlackBuild, see attached. Dunno if I should post this on slackbuild-users (as they seem to track 13.37 and not -current yet,) but I'm putting it here in case it helps :) |
Probably GCC 4.7 is too new for Qt3 code compiling. I had some errors if I was compiling (by slackbuilds ofc) Inkscape and other "daily-use" software. Qt3 is legacy version of Qt and won't be developed. So you can download a txz package which contains Qt: ftp://ftp.slackware.pl/pub/slackware...-i486-opt3.txz (if you run 32-bit Slackware Linux) or ftp://ftp.slackware.pl/pub/slackware...86_64-opt3.txz (if you run 64-bit one).
|
Actually GCC 4.7 built qt3 rather well, as long as the mentioned
Code:
#include <cstddef> Thanks for the pointers to the old qt3 packages though; I might make use of them in a different legacy app later. |
Quote:
Qt3 is necessary for me to try Trinity. |
Note for Slackbuilds.org 14.0
Now that SBo/14.0 is out, it has an updated qt3 package, but it has a broken patch for ptrdiff_t:
Code:
File include/qvaluelist.h is not a regular file -- can't patch Code:
--- qt-x11-free-3.3.8b/include/qvaluelist.h 2008-01-15 17:09:13.000000000 -0200 |
All times are GMT -5. The time now is 05:47 PM. |