macos-setup: Support uninstall of QT versions 5.[10-14].x

This commit is contained in:
John Thacker 2021-01-13 06:58:34 -05:00 committed by Guy Harris
parent 6c65f0586c
commit 4c1e0dd1fb
1 changed files with 4 additions and 1 deletions

View File

@ -855,6 +855,9 @@ install_qt() {
# 5.2.1: qt-opensource-mac-x64-clang-{version}.dmg
# 5.3 - 5.8: qt-opensource-mac-x64-clang-{version}.dmg
# 5.9 - 5.14: qt-opensource-mac-x64-{version}.dmg
# 5.15 - 6.0: Offline installers no longer provided.
# ( http://download.qt.io/archive/qt/5.15/5.15.0/OFFLINE_README.txt )
# XXX: We need a different approach for QT >= 5.15
#
case $QT_MAJOR_VERSION in
@ -941,7 +944,7 @@ uninstall_qt() {
installed_qt_volume=qt-opensource-mac-x64-clang-$installed_qt_version.dmg
;;
9|10)
9|10|11|12|13|14)
installed_qt_volume=qt-opensource-mac-x64-$installed_qt_version.dmg
;;
esac