Hi all,

In the spec files, the "Quick hack" part can be simpler. I use a modified
spec script for compiling from CVS sources with some reasonable defaults
for my Mandrake system. It seems only 'configure' needs patching to work with
-lqt2.

[...]
make -f Makefile.cvs MOC=/usr/bin/moc2

sed -e 's/-lqt/-lqt2/g' configure \
        | sed -e 's/-lqimgio/-lqimgio2/g' \
        | sed -e 's/-lqimgio/-lqimgio2/g' > configure.tmp
mv configure.tmp configure
rm -f configure.tmp
chmod +x configure

# then do the ./configure ; make ; make install stuff
[...]

Hope this helps
David

Reply via email to