@@ -280,13 +280,13 @@ sudo apt install \
280280
281281### Windows
282282
283- - Download Visual Studio 2019 community installer from https://visualstudio.microsoft.com/ and install _ Desktop C++ Development_
283+ - Download Visual Studio 2022 community installer from https://visualstudio.microsoft.com/ and install _ Desktop C++ Development_
284284- Install WIX toolset
285285
286- dotnet tool install --global wix --version 5 .0.0
287- wix extension -g add WixToolset.UI.wixext/5 .0.0
288- wix extension -g add WixToolset.Util.wixext/5 .0.0
289- wix extension -g add WixToolset.Bal.wixext/5 .0.0
286+ dotnet tool install --global wix --version 6 .0.2
287+ wix extension -g add WixToolset.UI.wixext/6 .0.2
288+ wix extension -g add WixToolset.Util.wixext/6 .0.2
289+ wix extension -g add WixToolset.Bal.wixext/6 .0.2
290290
291291- Download and install Git for Windows from https://git-scm.com/download/win
292292- Download and install CMake from https://cmake.org/download/
@@ -297,12 +297,8 @@ sudo apt install \
297297 .\bootstrap-vcpkg.bat
298298 .\vcpkg integrate install
299299
300- - Install _ Google Test_ and _ OpenSSL_ with _ vcpkg_ :
301-
302- .\vcpkg install --recurse --triplet x64-windows --clean-after-build gtest openssl
303-
304300- Install _ Qt_ with the official [ _ Qt Online Installer_ ] ( https://www.qt.io/download-qt-installer ) ,
305- choose _ Custom installation > Qt 6.6.3 > MSVC 2019 64-bit_ .
301+ choose _ Custom installation > Qt 6.10.0 > MSVC 2022 64-bit_ .
306302
307303### macOS
308304
@@ -317,7 +313,7 @@ sudo apt install \
317313- Create symlink to _ OpenSSL_ location and setup environment variables required
318314 by _ CMake_ :
319315
320- export OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1
316+ export OPENSSL_ROOT_DIR=/usr/local/opt/openssl@3.0
321317 export QT_DIR=/usr/local/opt/qt6/lib/cmake/Qt6
322318
323319## Building and testing
@@ -334,7 +330,7 @@ Use _Powershell_ to run the following commands to build the project.
334330
335331- Set the _ Qt_ installation directory variable:
336332
337- $QT_ROOT = "C:\Qt\6.2.4\msvc2019_64 "
333+ $QT_ROOT = "C:\Qt\6.10.0\msvc2022_64 "
338334
339335- Set the _ vcpkg_ installation directory variable:
340336
@@ -346,11 +342,11 @@ Use _Powershell_ to run the following commands to build the project.
346342
347343- Run _ CMake_ :
348344
349- Optionally, WIX Toolset v3 is required for the installer, and the WIX environment variable should be set for the installed target.
350-
351- cmake "-DCMAKE_PREFIX_PATH=${QT_ROOT}" `
345+ cmake -A x64 -B build -S .
346+ "-DCMAKE_PREFIX_PATH=${QT_ROOT}" `
352347 "-DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" `
353- "-DCMAKE_BUILD_TYPE=${BUILD_TYPE}" -A x64 -B build -S .
348+ "-DCMAKE_BUILD_TYPE=${BUILD_TYPE}" `
349+ "-DVCPKG_MANIFEST_DIR=lib/libelectronic-id/.github"
354350
355351- Run the build and installer build:
356352
@@ -367,9 +363,9 @@ Optionally, WIX Toolset v3 is required for the installer, and the WIX environmen
367363
368364## Adding and updating translations
369365
370- You can use the free [ Qt Linguist application] ( https://doc.qt.io/qt-5 /qtlinguist-index.html )
366+ You can use the free [ Qt Linguist application] ( https://doc.qt.io/qt-6 /qtlinguist-index.html )
371367to add and edit translations.
372368
373369Run the following command to update Qt Linguist TS files:
374370
375- lupdate src/ -ts ./src/ui/translations/*.ts
371+ cmake --build build --config ${BUILD_TYPE} --target update_translations
0 commit comments