@@ -266,13 +266,13 @@ https://github.com/mrts/docker-qt-cmake-gtest-valgrind-ubuntu/blob/master/Docker
266266
267267### Windows
268268
269- - Download Visual Studio 2019 community installer from https://visualstudio.microsoft.com/ and install _ Desktop C++ Development_
269+ - Download Visual Studio 2022 community installer from https://visualstudio.microsoft.com/ and install _ Desktop C++ Development_
270270- Install WIX toolset
271271
272- dotnet tool install --global wix --version 5 .0.0
273- wix extension -g add WixToolset.UI.wixext/5 .0.0
274- wix extension -g add WixToolset.Util.wixext/5 .0.0
275- wix extension -g add WixToolset.Bal.wixext/5 .0.0
272+ dotnet tool install --global wix --version 6 .0.2
273+ wix extension -g add WixToolset.UI.wixext/6 .0.2
274+ wix extension -g add WixToolset.Util.wixext/6 .0.2
275+ wix extension -g add WixToolset.Bal.wixext/6 .0.2
276276
277277- Download and install Git for Windows from https://git-scm.com/download/win
278278- Download and install CMake from https://cmake.org/download/
@@ -283,12 +283,8 @@ https://github.com/mrts/docker-qt-cmake-gtest-valgrind-ubuntu/blob/master/Docker
283283 .\bootstrap-vcpkg.bat
284284 .\vcpkg integrate install
285285
286- - Install _ Google Test_ and _ OpenSSL_ with _ vcpkg_ :
287-
288- .\vcpkg install --recurse --triplet x64-windows --clean-after-build gtest openssl
289-
290286- Install _ Qt_ with the official [ _ Qt Online Installer_ ] ( https://www.qt.io/download-qt-installer ) ,
291- choose _ Custom installation > Qt 6.6.3 > MSVC 2019 64-bit_ .
287+ choose _ Custom installation > Qt 6.10.0 > MSVC 2022 64-bit_ .
292288
293289### macOS
294290
@@ -303,7 +299,7 @@ https://github.com/mrts/docker-qt-cmake-gtest-valgrind-ubuntu/blob/master/Docker
303299- Create symlink to _ OpenSSL_ location and setup environment variables required
304300 by _ CMake_ :
305301
306- export OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1
302+ export OPENSSL_ROOT_DIR=/usr/local/opt/openssl@3.0
307303 export QT_DIR=/usr/local/opt/qt6/lib/cmake/Qt6
308304
309305## Building and testing
@@ -320,7 +316,7 @@ Use _Powershell_ to run the following commands to build the project.
320316
321317- Set the _ Qt_ installation directory variable:
322318
323- $QT_ROOT = "C:\Qt\6.2.4\msvc2019_64 "
319+ $QT_ROOT = "C:\Qt\6.10.0\msvc2022_64 "
324320
325321- Set the _ vcpkg_ installation directory variable:
326322
@@ -332,11 +328,11 @@ Use _Powershell_ to run the following commands to build the project.
332328
333329- Run _ CMake_ :
334330
335- Optionally, WIX Toolset v3 is required for the installer, and the WIX environment variable should be set for the installed target.
336-
337- cmake "-DCMAKE_PREFIX_PATH=${QT_ROOT}" `
331+ cmake -A x64 -B build -S .
332+ "-DCMAKE_PREFIX_PATH=${QT_ROOT}" `
338333 "-DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" `
339- "-DCMAKE_BUILD_TYPE=${BUILD_TYPE}" -A x64 -B build -S .
334+ "-DCMAKE_BUILD_TYPE=${BUILD_TYPE}" `
335+ "-DVCPKG_MANIFEST_DIR=lib/libelectronic-id/.github"
340336
341337- Run the build and installer build:
342338
@@ -353,9 +349,9 @@ Optionally, WIX Toolset v3 is required for the installer, and the WIX environmen
353349
354350## Adding and updating translations
355351
356- You can use the free [ Qt Linguist application] ( https://doc.qt.io/qt-5 /qtlinguist-index.html )
352+ You can use the free [ Qt Linguist application] ( https://doc.qt.io/qt-6 /qtlinguist-index.html )
357353to add and edit translations.
358354
359355Run the following command to update Qt Linguist TS files:
360356
361- lupdate src/ -ts ./src/ui/translations/*.ts
357+ cmake --build build --config ${BUILD_TYPE} --target update_translations
0 commit comments