Robert Daniels wrote:
> On Wednesday 05 March 2008 15:12:09 Robert Daniels wrote:
>>> There does not seem to be a need to use QTDIR, LD_LIBRARY_PATH, or
>>> to modify PATH.  The docs and examples are installed by default in
>>> PREFIX/doc and PREFIX/examples respectively.
>> Either lyx or qjackctl (or maybe both) require at least one of QTDIR
>> or PATH to be set in order to find qmake.  I don't remember exactly
>> how it went, but something needs to be set.  I think some things also
>> use QT4DIR. Environment variables will have to be looked at in more
>> detail.
> 
> OK, checked out a few packages that use qt4.  Lyx will work with PATH 
> and PKG_CONFIG_PATH adjusted, or by using a configure switch.  qjackctl 
> seems to require a configure switch no matter what. Avahi and Poppler 
> seem to be ok with just PKG_CONFIG_PATH.  kde4 only seems to need PATH 
> set.  Setting QTDIR, QT4DIR, or LD_LIBRARY_PATH was unnecessary in all 
> cases.
> 
> I did a full test build on kdelibs-4.0.1, all the rest are based purely 
> on output from ./configure, so no guarantees that the resulting 
> Makefiles are correct.

Thanks Robert.  I think we can drop those environment variables from the
qt4 instructions.  If they are needed for other packages, then there
needs to be instructions to that effect for those specific packages.
Also, we don't have any packages in BLFS yet that need qt4.

It is interesting to note that ldd finds the correct qt4 libraries for
binaries like assistant, designer, qtdemo, etc even though
LD_LIBRARY_PATH is not set and /etc/ld.so.conf has not been modified.

  -- Bruce
-- 
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