From 091d33e1251926d95270199b88094de06dc93f3e Mon Sep 17 00:00:00 2001 From: Francisco Pombal Date: Fri, 10 Jan 2020 12:41:03 +0000 Subject: [PATCH] Fixed variable name for building without GUI --- Compiling-with-CMake.mediawiki | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Compiling-with-CMake.mediawiki b/Compiling-with-CMake.mediawiki index 173f1ed..8dff7d5 100644 --- a/Compiling-with-CMake.mediawiki +++ b/Compiling-with-CMake.mediawiki @@ -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 build/debug for a debug build. Cd into that directory and issue a command: : cmake -G -D -D . If your build directory is as above (build/debug), the command may be: -: cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DQT5=ON -DSYSTEM_QTSINGLEAPPLICATION=ON ../... For the list of supported by qBittorrent and CMake options (and where to look them up) see below. +: cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DQBT_USE_GUI=ON -DSYSTEM_QTSINGLEAPPLICATION=ON ../... 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: : cmake -G "Visual Studio xxxx" -D -D . If your build directory is as above (build/debug), 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 | |- -| GUI +| QBT_USE_GUI | 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, -DGUI=OFF, systemd installed +| not Windows, -DQBT_USE_GUI=OFF, systemd installed |- | DBUS | bool | Enable use of DBus for various purposes | True -| not Windows, -DGUI=ON +| not Windows, -DQBT_USE_GUI=ON |} == Compiling ==