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
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to