I have tried this but when I do, the terminal ask me for password. I don\'t know what this password is? I don\'t have any password on my mac, i don\'t enter any password whe
the problem is arising because you are using sudo command. Well you have to assign a password to the computer to use that. I also faced the same problem. It's very simple.Just go to
System Prefernces-> Users and Groups -> Change password
Hope this helps.
Remove the main Qt directory. If you installed it somewhere else, delete that one instead
rm -rf ~/Qt
Then here are the directories with "Qt" in the name that I found on my system
rm -rf ~/Library/Application\ Support/Qt
rm -rf ~/Library/Caches/QtProject
rm -rf ~/.config/QtProject
I figured it out. Basically I was not able to locate the file because it never shows up in finder but here is how to get there.
From 'Go' menu on Finder, select 'Go to Folder'
Type ~/Library
This will take you to file system. I had two folders related to Qt (Qt and Qt 5.1). Both folders had MaintenanceTool file in it which I run and it asks if you want to uninstall and select yes. This will uninstall Qt Creator and all its components.
Update
Like aksiksi noted in comment below, it maybe installed in root folder for new versions. To go there type /
in 'Go to Folder' dialog and look for Qt installation there.
Surprisingly there is no up to date instructions to uninstall Qt 5 even on Qt Wiki. Though you can do it easily (I just did it with Qt 5.15.1).
Launch MaintenanceTool.app
from Finder, it should be in /Users/your_user_name/Qt
by default. Click Next, then check on Uninstall only, that's all.
It removed ~/Qt
folder but shamelessly left other folders untouched and you still needs to do @Boris's commands manually:
rm -rf ~/Library/Application\ Support/Qt
rm -rf ~/Library/Caches/QtProject
rm -rf ~/.config/QtProject