Switch to gcc-11 for Linux builds on AppVeyor

Using gcc-13 makes the generated AppImage to require a newer libstdc++ version
than some currently supported distributions include by default.
This way we don't need Travis-ci generated Qt5 AppImages anymore
and we can deprecate Qt5 support.
[publish binaries]
This commit is contained in:
Alejandro Martinez
2025-12-13 07:13:24 -03:00
parent 84b26c5977
commit 5060d09f15
2 changed files with 3 additions and 1 deletions

View File

@@ -72,6 +72,8 @@ init:
- sh: >-
if $CI_LINUX; then
export OS_NAME=linux
# Select gcc-11 for AppImage backward compatibility
sudo update-alternatives --set gcc "/usr/bin/gcc-11"
# Setup QT 6.8
export QTDIR=$HOME/Qt/6.8
export LD_LIBRARY_PATH=$QTDIR:$LD_LIBRARY_PATH