Making Qt visible from Mac OS X command line
Unsolved
Installation and Deployment
-
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:
$ qmake
I get an error message:
-bash: qmake: command not found
How should I make Qt visible from the command line?
TIA,
Mark
-
Hi and welcome to devnet,
You can simply use the full path to qmake e.g.
~/Qt/5.6.1/clang_64/bin/qmake
or you can edit your .profile file and add the path to the binaries folder toPATH
there.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