Making Qt visible from Mac OS X command line
Mark92630 last edited by Mark92630
Installed 5.6.1 on Mac OS X 10.11.5.
Purpose is to be able to compile someone else's program, that lists Qt as a requirement.
I can run Qt Creator by double-clicking in Finder on /Users/<myusername>/Qt/Qt Creator
But, if I launch Terminal and enter:
I get an error message:
-bash: qmake: command not found
How should I make Qt visible from the command line?
Hi and welcome to devnet,
You can simply use the full path to qmake e.g.
~/Qt/5.6.1/clang_64/bin/qmakeor you can edit your .profile file and add the path to the binaries folder to
I'd recommend number 1 so you always know which version of Qt you call, especially if you are using several builds of it.
Hope it helps