add missing exceptions qt downloader

This commit is contained in:
Thijs Wenker 2020-04-15 11:05:44 +02:00
parent 0ebe33b447
commit 403925ef0e

View file

@ -74,10 +74,10 @@ endif()
self.qtUrl = self.assets_url + '/dependencies/vcpkg/qt5-install-5.12.6-ubuntu-19.10.tar.xz' self.qtUrl = self.assets_url + '/dependencies/vcpkg/qt5-install-5.12.6-ubuntu-19.10.tar.xz'
elif u_major > 18 and ( u_major != 19 and u_minor != 4): elif u_major > 18 and ( u_major != 19 and u_minor != 4):
print("We don't support " + distro.name(pretty=True) + " yet. Perhaps consider helping us out?") print("We don't support " + distro.name(pretty=True) + " yet. Perhaps consider helping us out?")
raise Exception('UNSUPPORTED LINUX VERSION!!!') raise Exception('YET UNSUPPORTED VERSION OF LINUX DISTRO!!!')
else: else:
print("Sorry, " + distro.name(pretty=True) + " is old and won't be officially supported. Please consider upgrading."); print("Sorry, " + distro.name(pretty=True) + " is old and won't be officially supported. Please consider upgrading.");
raise Exception('UNSUPPORTED LINUX VERSION!!!') raise Exception('UNKNOWN LINUX DISTRO VERSION!!!')
else: else:
print("Sorry, " + distro.name(pretty=True) + " is not supported. Please consider helping us out.") print("Sorry, " + distro.name(pretty=True) + " is not supported. Please consider helping us out.")
print("It's also possible to build Qt for your distribution, please see the documentation at:") print("It's also possible to build Qt for your distribution, please see the documentation at:")