From 864aaf362d82122e13be3fb47310595d498e808c Mon Sep 17 00:00:00 2001 From: Francisco Pombal Date: Sun, 19 Jan 2020 20:06:42 +0000 Subject: [PATCH] Fix non-gui option, revise systemd options and remove unused DBUS option --- Compiling-with-CMake.mediawiki | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Compiling-with-CMake.mediawiki b/Compiling-with-CMake.mediawiki index 8dff7d5..72028a9 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 -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. +: cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -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,10 +91,10 @@ Here are the options that you can use to change to tune qBittorent build for you | False | |- -| QBT_USE_GUI +| CMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets | bool -| Enable graphical user interface -| True +| Disable graphical user interface +| False | |- | WEBUI @@ -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, -DQBT_USE_GUI=OFF, systemd installed +| not Windows, -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets=ON, systemd installed |- -| DBUS -| bool -| Enable use of DBus for various purposes -| True -| not Windows, -DQBT_USE_GUI=ON +| Systemd_SERVICES_INSTALL_DIR +| path (optional) +| Custom path for the installion of the systemd service file +| /lib/systemd/systemd (TODO: should be changed in the future) +| -DSYSTEMD=ON |} == Compiling ==