-
-
Notifications
You must be signed in to change notification settings - Fork 552
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build Windows CI builds with vcpkg and Qt 6 (#2112)
If using Qt 6 becomes a problem in terms of compatibility, toggle it off in the CMakePresets.json.
- Loading branch information
1 parent
d31eabb
commit ececf33
Showing
5 changed files
with
102 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set(VCPKG_TARGET_ARCHITECTURE x64) | ||
set(VCPKG_CRT_LINKAGE dynamic) | ||
set(VCPKG_LIBRARY_LINKAGE static) | ||
set(VCPKG_ENV_PASSTHROUGH PATH) | ||
set(VCPKG_BUILD_TYPE release) | ||
|
||
set(VCPKG_CMAKE_SYSTEM_NAME MinGW) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,46 @@ | ||
{ | ||
"default-features": ["qt6"], | ||
"dependencies": [ | ||
"sdl2", | ||
{ | ||
"name": "libarchive", | ||
"default-features": false, | ||
"features": ["bzip2", "crypto", "lz4", "zstd"] | ||
"libarchive", | ||
"zstd" | ||
], | ||
"features": { | ||
"qt6": { | ||
"description": "Use Qt 6 for the frontend.", | ||
"dependencies": [ | ||
{ | ||
"name": "qtbase", | ||
"default-features": false, | ||
"features": ["gui", "png", "thread", "widgets", "opengl", "zstd"] | ||
}, | ||
{ | ||
"name": "qtbase", | ||
"host": true, | ||
"default-features": false | ||
}, | ||
{ | ||
"name": "qtmultimedia", | ||
"default-features": false | ||
}, | ||
"qtsvg" | ||
] | ||
}, | ||
"zstd", | ||
{ | ||
"name": "qtbase", | ||
"default-features": false, | ||
"features": ["gui", "png", "thread", "widgets", "opengl", "zstd"] | ||
}, | ||
{ | ||
"name": "qtbase", | ||
"host": true, | ||
"default-features": false | ||
}, | ||
{ | ||
"name": "qtmultimedia", | ||
"default-features": false | ||
}, | ||
"qtsvg" | ||
] | ||
"qt5": { | ||
"description": "Use Qt 5 for the frontend.", | ||
"dependencies": [ | ||
{ | ||
"name": "qt5-base", | ||
"default-features": false | ||
}, | ||
{ | ||
"name": "qt5-base", | ||
"host": true, | ||
"default-features": false | ||
}, | ||
"qt5-multimedia", | ||
"qt5-svg" | ||
] | ||
} | ||
} | ||
} |