Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
qtcreator command not found
waschbaer last edited by A Former User
I am using macOS, type qtcreator in terminal, bash will tell me qtcreator command can not found.
Please help, I spend whole day on this problem.
and its not just called
Im 100% macOS ignorant but docs show something like that
Hi and welcome to devnet,
Because there's no qtcreator executable nor command. Much less in the
Qt/5.8/clang_64/binas 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.
@SGaist Meaning it is impossible to do something similar in Ubuntu: qtcreator CMakeLisets.txt? That is so disappointed.:(
No, meaning that the name is different, that's all. You can do exactly the same stuff.
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.
Could he add "~/Qt/Qt Creator.app/Contents/MacOS/" to path as just to execute it ?
Yes he can.
@mrjj What do you mean? After add this path i can just type qtcreator?
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.
waschbaer last edited by waschbaer
@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.