build, msvc: Enable libqrencode vcpkg package

This commit is contained in:
Hennadii Stepanov committed 2024-11-05 16:38:56 +00:00
1 parent 30089b0cb6
commit 9e5089dbb0
3 files changed
+5 -8

No files matched your search

+2 -4
View File
@@ -15,8 +15,7 @@
"toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake", "toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
"cacheVariables": { "cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows", "VCPKG_TARGET_TRIPLET": "x64-windows",
"BUILD_GUI": "ON", "BUILD_GUI": "ON"
"WITH_QRENCODE": "OFF"
} }
}, },
{ {
@@ -32,8 +31,7 @@
"toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake", "toolchainFile": "$env{VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
"cacheVariables": { "cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-static", "VCPKG_TARGET_TRIPLET": "x64-windows-static",
"BUILD_GUI": "ON", "BUILD_GUI": "ON"
"WITH_QRENCODE": "OFF"
} }
}, },
{ {
+1 -3
View File
@@ -42,9 +42,7 @@ Available presets can be listed as follows:
cmake --list-presets cmake --list-presets
``` ```
By default, all presets: By default, all presets set `BUILD_GUI` to `ON`.
- Set `BUILD_GUI` to `ON`.
- Set `WITH_QRENCODE` to `OFF`, due to known build issues when using vcpkg's `libqrencode` package.
## Building ## Building
+2 -1
View File
@@ -25,7 +25,8 @@
"description": "Build GUI, Qt 5", "description": "Build GUI, Qt 5",
"dependencies": [ "dependencies": [
"qt5-base", "qt5-base",
"qt5-tools" "qt5-tools",
"libqrencode"
] ]
}, },
"sqlite": { "sqlite": {