Skip to content

Commit

Permalink
CI: fix Linux build with Qt5,6
Browse files Browse the repository at this point in the history
  • Loading branch information
HuguesDelorme committed Jan 30, 2025
1 parent eef0c60 commit e2f064e
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Install Qt
- name: Install Qt${{qt_version_major}}
run: |
sudo apt-get -y install \
qtbase${{matrix.qt_version_major}}-dev \
libqt${{matrix.qt_version_major}}svg${{matrix.qt_version_major}}-dev
# Actually needed for Qt6
- name: Install dependencies for "xcb" Qt plugin
run: |
sudo apt-get -y install libxcb-cursor0
if [[ ${{matrix.qt_version_major}} == "5" ]]; then
sudo apt-get -y install qtbase5-dev libqt5svg5-dev
elif [[ ${{matrix.qt_version_major}} == "6" ]]; then
sudo apt-get -y install qt6-base-dev qt6-svg-dev libxcb-cursor0
fi
- name: Install OpenCascade
run: |
Expand Down

0 comments on commit e2f064e

Please sign in to comment.