Qt5 on Ubuntu 16.04
-
I have installed Qt following this
https://wiki.qt.io/Install_Qt_5_on_Ubuntu
But with
qmake --versionqmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
ANy ideas how to solve this?
-
I guess you installed it in your Home Directory as User and not as root. maybe you need only to link the qmake command from your qt folder in your home directory to your system. Mostly /usr/local/bin is the right Path. Use ln to link it.
Rememeber, you didnt have install it. You only created a qt folder in your home directory with all the Libraries
-
@Mikki Just use the whole path to qmake.
But I'm curios: why not use the Qt online installer to install Qt?
There is usually no need to build Qt by yourself.
Go to https://www.qt.io/download/