Armin K. wrote:
> On 11.8.2013 23:24, [email protected] wrote:
>> Author: bdubbs
>> Date: Sun Aug 11 14:24:18 2013
>> New Revision: 11616
>>
>> Log:
>> Add alternate Qt5 build instructions

> I still have no idea why you added these instructions when you still
> symlink the binaries into /usr/bin. I find it pointless. Since yet
> nothing uses Qt5 (no desktop and such), it can be easily overwriten
> without any problems in /usr.

Planing for the future.  I thought about mentioning changing the PATH, 
but decided the user could figure that out.

> Also, qtchooser won't work for this one.

Really?  I figured that the only thing needed would be to

cat > /etc/xdg/qtchooser/5.conf << "EOF"
/opt/qt5/bin
/opt/qt5/lib
EOF

That said, I've never liked the 'alternative' scripts.  It's easier to 
just change the PATH.

I've also thought about making the path functions in /etc/profile 
persistent.  Then the qtchooser would be simply

pathremove old-qt-path; pathprepend new-qt-path

or

pathprepend alternate-qt-path
do build
pathremove alternate-qt-path

Another option would be to just change the /opt/qt symlink, but that 
requires being root.

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