Am Samstag, 23. Februar 2008 12:29:29 schrieb Alexander E. Patrakov:
> Thomas Trepl wrote:
> > find . -name Makefile \
> > -exec sed -i -e "s;-lqt-mt;& -L$QTDIR/lib;g" \
> > '{}' ';'
>
> While I see no reason why this shouldn't work for LFS (because LFS sets
> $QTDIR unconditionally), I must say that this is not how big distros like
> Debian work. In Debian, Qt is in /usr, and there is no $QTDIR in the
> environment (and QT/KDE applications build and work just fine because
> pkgconfig supplies the needed flags correctly). See, e.g., how the
> linux-2.6.24/scripts/kconfig/Makefile attempts to find out how to use Qt
> (look below the "# QT needs some extra effort..." line).
>
> --
> Alexander E. Patrakov
hehe, never said that this is the best solution - it's more a brute force ;-)
Well, I like to have QT in /opt cause there i can have QT4 in a separate dir,
too. Installing that all in /usr the may be some overwrites or am i wrong (i
think e.g. the qmake binary is in both, QT3 and QT4)
Ok, one could install QT3 in /usr and QT4 in /opt - than no need for QTDIR in
context of QT3 while it is required to specify it anyhow when want to address
QT4.
--
Thomas
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page