I installed Qt5.5, but I am not able to locate the program qmake in Qt installation folder as well as in my user bin. I run a find command in terminal in search for qmake starting from the root directory, but getting no results. When I use the Qt IDE I can compile my source with option of qmake, so I am sure the program qmake is installed.
I would want to add qmake to my path so I can run qmake in command line. Does anyone know is Qt5.5 is hiding qmake somewhere?
qmake
is located into bin
subfolder of your installed Qt; probably, that directory is not into your path (echo $PATH
will show your actual path); if Qt is not present in your $PATH
, you can include it; you should have installed Qt inside /usr/local
(or /opt/local
); add those lines to your .profile
file:
PATH=/usr/local/Qt-x.x.x/bin:$PATH
export PATH
(filling the 'x' with your Qt version) and check again with echo $PATH
Either in:
/usr/local/opt/qt5
Or:
/usr/local/opt/qt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With