Subject: bug#245: Qmake can't run.

From: Γιώργος Κωστόπουλος <[email-masked]>
Date: Tue, 25 Sep 2018 07:44:41 +0300

Package: qtchooser
Version: 63-g13a3d08-1

On ASCII x64 KDE.

Trying to run qmake, returns:
>qmake
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No
such file or directory

Seems to be a common problem and you can find several sugestion on the net.
My own preference is the one with update-alternatives.
(As root):
#update-alternatives --install /usr/bin/qmake qmake
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake 100
update-alternatives: using /usr/lib/x86_64-linux-gnu/qt5/bin/qmake to
provide /usr/bin/qmake (qmake) in auto mode
#

Then everything works:
>qmake -v
QMake version 3.0
Using Qt version 5.7.1 in /usr/lib/x86_64-linux-gnu

I'm filing this report, because I think that qmake, should work out of
the box (without any need for a prior configuration with
update-alternatives).