download_and_compile.sh: accept qtchooser as an alternative to qt5-default

This should be more user-friendly, as qt5-default isn't part of recent
Debian/Ubuntu distros.

List discussion: https://sourceforge.net/p/flightgear/mailman/message/37281536/
This commit is contained in:
Florent Rougon 2021-05-13 14:29:49 +02:00
parent bd01aad8e6
commit aaf52f0628

View File

@ -601,7 +601,7 @@ function _installOrUpdateDistroPackages(){
fi
_mandatory_pkg_alternative libpng-dev libpng12-dev libpng16-dev
# The following packages are needed for the built-in launcher
_optional_pkg_alternative qt5-default
_optional_pkg_alternative qt5-default qtchooser
_optional_pkg_alternative qtdeclarative5-dev
_optional_pkg_alternative qttools5-dev
_optional_pkg_alternative qtbase5-dev-tools # for rcc