Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstall qt 4 from mac os

Tags:

macos

qt

qt4

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?

like image 244
Alexandr Avatar asked Aug 01 '13 11:08

Alexandr


People also ask

Does MacOS use Qt?

By default, Qt will build for the architecture of your development machine - either x86_64 , or arm64 if you are on an Apple Silicon Mac.

How do you change the Qt version on a Mac?

Select Edit > Preferences > (or Qt Creator > Preferences on macOS) > Kits > Qt Versions > Link with Qt.


1 Answers

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.

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

sudo python ./uninstall-qt.py

I hope it helps.

like image 184
MaksymB Avatar answered Sep 16 '22 23:09

MaksymB