Skip to content

Commit

Permalink
Fix Qt 6.8.1 deprecation limit and extend CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed Dec 25, 2024
1 parent 707744c commit 13b1b2b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
fail-fast: false
matrix:
include:
- image: arbmind/qbs-clang-libstdcpp-qt:2.5.0-19-14-6.8.1
- image: arbmind/qbs-clang-libstdcpp-qt:2.3.1-18-14-6.7.1
- image: arbmind/qbs-clang-libstdcpp-qt:1.24.1-16-12-6.5.0
- image: arbmind/qbs-clang-libstdcpp-qt:1.22.0-14-11-6.3.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
fail-fast: false
matrix:
include:
- image: arbmind/qbs-gcc-qt:2.5.0-14-6.8.1
- image: arbmind/qbs-gcc-qt:2.3.1-14-6.7.1
- image: arbmind/qbs-gcc-qt:1.24.1-12-6.5.0
- image: arbmind/qbs-gcc-qt:1.22.1-12-6.3.1
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ jobs:
include:
- host_system: windows-2022
vcvars: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
qt_version: "6.7.2"
qt_version: "6.8.1"
qt_arch: win64_msvc2019_64

- host_system: windows-2022
vcvars: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
qt_version: "6.7.3"
qt_arch: win64_msvc2019_64

- host_system: windows-2022
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ project(Verdigris

enable_testing()

find_package(Qt6 "6.2...<6.6" COMPONENTS Core Test REQUIRED)
find_package(Qt6 "6.2...<6.9" COMPONENTS Core Test REQUIRED)

add_subdirectory("src")
add_subdirectory("tools")
Expand Down
2 changes: 1 addition & 1 deletion tests/qt/qobject/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ target_link_libraries(qobject PRIVATE
Qt6::Network
)
target_compile_definitions(qobject PRIVATE
QT_DISABLE_DEPRECATED_BEFORE=0
QT_DISABLE_DEPRECATED_BEFORE=0x40800
QT_NO_DEBUG
W_SIGNALBUG="$<TARGET_FILE:signalbug>"
)
2 changes: 1 addition & 1 deletion tests/qt/qobject/qobject.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Project {
type: ["application", "autotest"]

Depends { name: "cpp" }
cpp.defines: base.concat("QT_DISABLE_DEPRECATED_BEFORE=0", "QT_NO_DEBUG")
cpp.defines: base.concat("QT_DISABLE_DEPRECATED_BEFORE=0x040800", "QT_NO_DEBUG")
Depends { name: "Verdigris" }
Depends { name: "Qt.core" }
Depends { name: "Qt.network" }
Expand Down

0 comments on commit 13b1b2b

Please sign in to comment.