在Mac上删除Qt库 [英] Remove Qt libraries on Mac

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

问题描述

我想在Mac上删除已安装的Qt 4.8库并安装Qt 4.6库.

I want to remove the installed Qt 4.8 libraries and install Qt 4.6 libraries on my mac.

但是当我尝试安装它们时,我得到了:

But when I try to install them I get:

无法在此磁盘上安装Qt库. 该软件已存在于该磁盘上"

"Qt libraries cannot be installed on this disk. A newer version of this software already exists on this disk"

我从磁盘上删除了 /usr/local/Qt4.8.x 文件夹,但消息仍在此处.

I removed the /usr/local/Qt4.8.x folder from the disk but the message is still here.

如何删除旧库?

推荐答案

除非没有其他选择,否则您不应该手动删除文件夹.您应该先尝试运行卸载脚本:

You shouldn't manually delete a folder unless there is no other option. You should try running the uninstall script first:

sudo python /Developer/Tools/uninstall-qt.py

如果您运行的是最新的Xcode应用程序包,而不是默认的Snow Leopard/Lion Xcode,则此脚本的路径将有所不同.

The path to this script will be different if you are running the latest Xcode app bundle and not the default Snow Leopard/Lion Xcode.

这篇关于在Mac上删除Qt库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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