Re: Build on Mint 18

Posted by Civil Guy on
URL: https://forum.librecad.org/Build-on-Mint-18-tp5716522p5716534.html

david@david-ThinkPad-T410 ~ $ uname -a
Linux david-ThinkPad-T410 4.15.0-36-generic #39~16.04.1-Ubuntu SMP Tue Sep 25 08:59:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
david@david-ThinkPad-T410 ~ $ cat /etc/issue
Linux Mint 18.3 Sylvia \n \l

david@david-ThinkPad-T410 ~ $ /opt/Qt/5.10.1/gcc_64/bin/qmake -v
QMake version 3.1
Using Qt version 5.10.1 in /opt/Qt/5.10.1/gcc_64/lib
david@david-ThinkPad-T410 ~ $ qtchooser -print-env
QT_SELECT="default"
QTTOOLDIR="/usr/lib/x86_64-linux-gnu/qt4/bin"
QTLIBDIR="/usr/lib/x86_64-linux-gnu"

...It was a new install of Mint 18.

As you can probably see, my installation of Qt and associated qmake is messed up.  I think (lost in confusion, I didn't keep good notes) that when I saw the first apt-get results, I figured that there must be something else I needed to do to get Qt, Qt Creator, and qmake installed.  I went to the Qt web site which recommended their online installer.  Still lost, but reading a bit more, I figured that the best place to install the new software was under /opt, keeping it separate from /usr software.

I see from the above (hadn't known that test) that the environment variables are messed up.  What's the best way to reset those properly?