Skip to content

Commit

Permalink
Attempt to update autobuild machinery for Qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Sep 29, 2023
1 parent de1e501 commit 6063fda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: prerequisites
run: sudo apt update && sudo apt install build-essential qttools5-dev-tools qt5-default
run: sudo apt update && sudo apt install build-essential qttools5-dev-tools qt6-base-dev libgl1-mesa-dev
- name: qmake
run: qmake
- name: make
Expand Down
3 changes: 3 additions & 0 deletions XaoS.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
# -------------------------------------------------

lessThan(QT_MAJOR_VERSION, 6): error("requires Qt >= 6")
wasm {
lessThan(QT_MINOR_VERSION, 5): error("requires Qt >= 6.5.2")
}

TEMPLATE = app

Expand Down Expand Up @@ -49,6 +51,7 @@ isEmpty(QMAKE_LRELEASE) {
}
unix {
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt5 }
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
} else {
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
}
Expand Down

0 comments on commit 6063fda

Please sign in to comment.