From beeba58cee1d0341aca8f9a7d2ac6a0066ec0b76 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sat, 25 Apr 2020 21:47:10 +0200 Subject: [PATCH] Github Actions: use Qt 5.11.0 on windows. qt < 5.11 has a bug in qCountLeadingZeroBits function (QtCore/qalgorithms.h). This function is marked constexpr but returns a non-const value. MSVC compilers will pick this up as an C3615 error. See https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-2/compiler-error-c3615 --- .github/workflows/ci.yml | 2 +- .github/workflows/package.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ff243d..9242f69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: if: startsWith(matrix.build, 'gui') && runner.os != 'Linux' uses: jurplel/install-qt-action@v2 with: - version: '5.9' + version: '5.11.0' - name: Configure shell: bash diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 6554a33..5e36c7a 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -63,7 +63,7 @@ jobs: uses: jurplel/install-qt-action@v2 with: arch: ${{ matrix.qt-arch }} - version: '5.9' + version: '5.11.0' - name: Configure run: cmake -A ${{matrix.arch}} -DCOMPONENT_GUI=ON -DCOMPONENT_CLI=ON -D CMAKE_BUILD_TYPE=Release -D CPACK_GENERATOR=NSIS -S . -B build