mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
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:
@@ -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>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user