On 12/26/2018 02:01 PM, Ken Moffat via blfs-support wrote:

But I had not realised that the old installed libs were the problem.

Another reason to build qt in /opt.

I start my qt5 script with:

export QT5PREFIX=/opt/qt5
sudo rm -rf /opt/qt-$VERSION $QT5PREFIX
sudo mkdir -p $QT5PREFIX

Since I have now:

lrwxrwxrwx  1 root root    9 Aug 20 17:07 qt5 -> qt-5.11.1
drwxr-xr-x 14 root root 4096 Aug 26 13:40 qt-5.11.1

$ echo $PATH
...:/opt/qt5/bin:...

Removing the $QT5PREFIX symlink allows the new build (e.g. 5.12.0) to populate a new directory and the system can't find the old version.

If I have a problem with the new version, I just recreate the old symlink.

  -- Bruce


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