Fixed variable name for building without GUI

Francisco Pombal 2020-01-10 12:41:03 +00:00
parent 2848eecb8c
commit 091d33e125

@ -30,7 +30,7 @@ With the generator selected, you have to do one of the following:
;No IDE
: Create build directory. For example, it can be a sub-directory of the source directory, like <code>build/debug</code> for a debug build. Cd into that directory and issue a command:
: <code>cmake -G <chosen generator> -D<option1> -D<option2> <source directory></code>. If your build directory is as above (<code>build/debug</code>), the command may be:
: <code>cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DQT5=ON -DSYSTEM_QTSINGLEAPPLICATION=ON ../..</code>. For the list of supported by qBittorrent and CMake options (and where to look them up) see below.
: <code>cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DQBT_USE_GUI=ON -DSYSTEM_QTSINGLEAPPLICATION=ON ../..</code>. For the list of supported by qBittorrent and CMake options (and where to look them up) see below.
;Visual Studio
: Create build directory. This directory will contain Visual Studio project files as well. Cd into that directory and issue a command:
: <code>cmake -G "Visual Studio xxxx" -D<option1> -D<option2> <source directory></code>. If your build directory is as above (<code>build/debug</code>), the command may be:
@ -91,7 +91,7 @@ Here are the options that you can use to change to tune qBittorent build for you
| False
|
|-
| <tt>GUI</tt>
| <tt>QBT_USE_GUI</tt>
| bool
| Enable graphical user interface
| True
@ -113,13 +113,13 @@ Here are the options that you can use to change to tune qBittorent build for you
| bool
| Install the systemd service file
| False
| not Windows, <code>-DGUI=OFF</code>, systemd installed
| not Windows, <code>-DQBT_USE_GUI=OFF</code>, systemd installed
|-
| <tt>DBUS</tt>
| bool
| Enable use of DBus for various purposes
| True
| not Windows, <code>-DGUI=ON</code>
| not Windows, <code>-DQBT_USE_GUI=ON</code>
|}
== Compiling ==