从Mac OS卸载Qt 4 [英] Uninstall qt 4 from mac os

查看:300
本文介绍了从Mac OS卸载Qt 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚在Mac OS上安装了错误的qt版本. Qt版本是4.8.5. Qt5安装在一个单独的文件夹中,但是版本4散布在整个系统中,我不能只删除一个文件夹.

I just installed wrong qt version on my Mac OS. Qt version is 4.8.5. Qt5 is installed into a separate folder, but version 4 is spread over the system, I cannot just delete one folder.

是否有一种简便的卸载方法?

Is there an easy way to uninstall it?

推荐答案

如果我没记错的话,/Developer/qt/tools .../uninstall-qt.py

If I remember correctly, there is python script somewhere in /Developer/qt/tools.../uninstall-qt.py

我不确定名称,但是您会识别脚本.

I'm not sure about the names, but you'll recognise the script.

此外,您还必须使用sudo,smth这样运行它:

Also, you'll have to run it with sudo, smth like this:

sudo python ./uninstall-qt.py

希望对您有帮助.

这篇关于从Mac OS卸载Qt 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆