Skip to content

fix compile error with older Qt 5.9 #178

fix compile error with older Qt 5.9

fix compile error with older Qt 5.9 #178

Workflow file for this run

name: Ubuntu Qt CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
matrix:
name: [ubuntu-20.04, ubuntu-22.04]
include:
# - name: ubuntu-18.04
# os: ubuntu-18.04
# artifact: minutor
- name: ubuntu-20.04
os: ubuntu-20.04
artifact: minutor
- name: ubuntu-22.04
os: ubuntu-22.04
artifact: minutor
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install Qt
run: |
sudo apt-get update
sudo apt-get install qtbase5-dev qt5-qmake qtbase5-dev-tools -y
- name: Create BUILD folder
run: |
mkdir ../build
- name: Build (Ubuntu)
working-directory: ../build
run: |
qmake ${{ github.workspace }}/${{ matrix.artifact }}.pro
make
env:
# only needed for Ubuntu-16.04
LD_LIBRARY_PATH: '${{ runner.workspace }}/Qt/5.5/gcc_64/lib'
- name: Archive build result
uses: actions/upload-artifact@v3
with:
name: Binary ${{ matrix.name }}
path: ${{ runner.workspace }}/build/${{ matrix.artifact }}