Georg Baum <[EMAIL PROTECTED]> writes: | Am Mittwoch, 31. Mai 2006 21:02 schrieb Lars Gullik Bjønnes: | > | > To be able to build out-of-the-bos on fc5 with the qt4 from extras I | > have to do something similar to: | | Yep, the qt4 config stuff is not 100% foolproof yet.
| | > Index: qt.m4 | > =================================================================== | > --- qt.m4 (revision 13974) | > +++ qt.m4 (working copy) | > @@ -443,6 +443,9 @@ | > | > dnl pay attention to $QT4DIR unless overridden | > if test -z "$qt4_cv_dir"; then | > + if test -z "$QT4DIR"; then | > + QT4DIR=/usr/lib/qt4 | > + fi | > qt4_cv_dir=$QT4DIR | > fi | > | > To have it compile without and other intervention. | > | > Should I just commit this? | | I'd rather like the attached, since there does not seem to be an agreement | between distros where to put qt4. That fails on fc5 x86_64. We should probably make it try to use pkg-config if that is available. pkg-config --cflags QtCore QtGui -DQT_SHARED -I/usr/lib64/qt4/include -I/usr/lib64/qt4/include/QtCore -I/usr/lib64/qt4/include/QtGui etc. -- Lgb