Remove Qt libraries on Mac

天涯浪子 提交于 2019-12-03 13:05:50

问题


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 libraries cannot be installed on this disk. A newer version of this software already exists on this disk"

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

How can I remove the old libraries?


回答1:


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

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.



来源:https://stackoverflow.com/questions/13103017/remove-qt-libraries-on-mac

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