qtcreator command not found
-
Hi,
I am using macOS, type qtcreator in terminal, bash will tell me qtcreator command can not found.
Try
echo $PATH
It shows:
echo $PATH
blablabla......../Users/yuminsun/Qt/5.8/clang_64/bin:..........blalablaPlease help, I spend whole day on this problem.
Thank you.
Best,
Yu -
Hi
and its not just called
Creator.app ?Im 100% macOS ignorant but docs show something like that
http://doc.qt.io/qtcreator/creator-cli.html -
Hi and welcome to devnet,
Because there's no qtcreator executable nor command. Much less in the
Qt/5.8/clang_64/bin
as Qt Creator is not part of the Qt Framework.If you want to start Qt Creator from the command line:
~/Qt/Qt\ Creator.app/Contents/MacOS/Qt\ Creator
. -
No, meaning that the name is different, that's all. You can do exactly the same stuff.
-
Hi
I also thought it looked odd
but then i realized it has spaces and all space are just escaped
so basically it just says ( if "\ " was not needed)
~/Qt/Qt Creator.app/Contents/MacOS/Qt Creator -
The spaces are present, hence my line with them escaped.
-
Yes he can.
-
@waschbaer
Yes as it just an normal path as i understand it so
if added it should then be able to find "Qt creator"
It seems to be name that and not qtcreator.
It seems to have space in name :)
But go look in folder. should be obvious what name is.
and make sure to add path with spaces as it really has. -
I insists: the spaces must be properly escaped.
The documentation is being updated on that aspect.
-
@SGaist This is what I do in the bash_profile
export PATH="/Users/yuminsun/Qt/Qt Creator.app/Contents/MacOS/:$PATH"
This works well, previously I write slash in the Path, and therefore it not works, a space bewteen Qt and Creator is enough.