>Message: 2
>Date: Wed, 20 Apr 2016 17:06:28 -0500
>From: Bruce Dubbs <[email protected]>
>To: BLFS Support List <[email protected]>
>Subject: Re: [blfs-support] Qt4 in /usr
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset=UTF-8; format=flowed

>Bryan S. wrote:
>> Following the book's instructions for QT-4.8.7 will leave no Qt
>> executables in user's PATH (other than the symlinks provided for eg.
>> vlc) -- if they install under /usr (like i am doing). I think changing
>> the /etc/profile.d/qt4.sh file (under the "Configuring Qt" section on
>> that page) as follows fixes it:
>>
>> # Begin /etc/profile.d/qt4.sh
>>
>> QT4DIR=/usr
>> QTDIR=$QT4DIR
>> pathappend $QT4DIR/bin/qt4 PATH
>>
>> export QT4DIR QTDIR
>>
>> # End /etc/profile.d/qt4.sh

>We can do that.  Note that qt5 and the helper scripts setqt{4,5} need to 
>be changed also.

>   -- Bruce

What a mess - I'm only installing Qt4 in this build so no reason not to
put it in /usr. I suppose the only way to apply for all use cases would
be to ensure the directories under /opt and /usr are the same layout.
Otherwise, maybe add some verbiage to the scripts to the effect: "If you
installed one or both Qt versions under /usr the scripts below will need
to be altered accordingly."

--Bryan
------------------------------
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to