docs: use Qt6 in Windows build instructions (#7549)

* docs: use Qt6 in Windows build instructions

* docs: document `USE_QT_VERSION`
This commit is contained in:
Yat Ho
2025-05-01 19:42:24 +08:00
committed by GitHub
parent 1970becfbf
commit 3312392c60

View File

@@ -184,7 +184,7 @@ vcpkg install curl zlib openssl
Additional dependencies for the Qt client:
```bat
vcpkg install qt5-tools qt5-winextras
vcpkg install qtsvg qttools
```
### Get Transmission source
@@ -197,12 +197,15 @@ git submodule update --init --recursive
### Configure CMake and build the project
To configure which components are built use the flags below.
Each option can be set to `ON` or `OFF`, values shown below are the defaults.
Each option can be set to `ON`/`OFF`/`AUTO`, values shown below are the defaults.
* `-DENABLE_DAEMON=ON` - build transmission daemon
* `-DENABLE_QT=AUTO` - build the Qt client
* `-DENABLE_UTILS=ON` - build transmission-remote, transmission-create, transmission-edit and transmission-show cli tools
* `-DENABLE_CLI=OFF` - build the cli client
Other options:
* `-DUSE_QT_VERSION=6` - `5`/`6`/`AUTO` choose Qt version to build with
```bat
cmake -B build -DCMAKE_TOOLCHAIN_FILE="<path-to-vcpkg>\scripts\buildsystems\vcpkg.cmake" <flags-from-above> <other-cmake-configurations>
```