Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Qt libraries on Mac

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?

like image 337
Jacob Krieg Avatar asked Oct 27 '12 18:10

Jacob Krieg


2 Answers

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.

like image 135
Cameron Tinker Avatar answered Oct 28 '22 18:10

Cameron Tinker


I installed qt via homebrew. To remove I simply wrote the following in the terminal: brew uninstall qt@4

like image 25
MarcoMag Avatar answered Oct 28 '22 17:10

MarcoMag