How to uninstall Qt Creator on Mac Yosemite

爷,独闯天下 提交于 2019-12-30 08:32:33

问题


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 when I login and I can't get passed the first step below.

sudo QtSDK/SDKMaintenanceTool.app/Contents/MacOS/SDKMaintenanceTool

I am uninstalling Qt Creator 2.8.1 on Mac OS Yosemite 10.10 I just want to install the latest 5.3.2 version and get rid of the old one. I could probably choose a new folder but I don't want to do that and it doesn't let me install over the current folder.


回答1:


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.




回答2:


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



回答3:


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.



来源:https://stackoverflow.com/questions/26750250/how-to-uninstall-qt-creator-on-mac-yosemite

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!