Replies: 5 comments
-
You may be right. It is possible that this package is no longer required as a build dependency. I managed to build and run successfully after uninstalling that package and applying this patch on Ubuntu 18.04: diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6709fbf37..93040baf2 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -60,7 +60,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(base)
if (GUI)
- find_package(Qt5 ${minQtVersion} REQUIRED COMPONENTS Widgets Svg)
+ find_package(Qt5 ${minQtVersion} REQUIRED COMPONENTS Widgets)
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
find_package(Qt5 ${minQtVersion} REQUIRED COMPONENTS MacExtras)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows") Soon I will test on Windows. For reference, |
Beta Was this translation helpful? Give feedback.
-
@FranciscoPombal I have some more insights into this regarding boost deps as well. Currently documented dependencies are What I found is that when I use I decided to apply the method i used with the python binding where I do not build boost libs and it works. There is no reason to actually build any boost libs when building libtorrent and qbittorrent from source when using b2. The below commands will demonstrate the principle zlib/opensslfrom source or apt boost1: create cd $HOME
wget -qO $HOME/boost_1_74_0.tar.gz "https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.tar.gz"
tar xf $HOME/boost_1_74_0.tar.gz
cd $HOME/boost_1_74_0
./bootstrap.sh Note:
Libtorrent
qtbase / qttoolsqtbase/qtools from source or apt qbittorrent
Conclusion?
|
Beta Was this translation helpful? Give feedback.
-
on windows at least, if you build a static build without the SVG plugin, no icon will load. |
Beta Was this translation helpful? Give feedback.
-
Is that the desktop? for the linux builds in question here are nox versions. If it's a desktop specific dependency (possibly OS specific) that will be good to establish. can you provide a screenshot of the issue so I can compare my linux builds |
Beta Was this translation helpful? Give feedback.
-
My testing above was done with GUI on Ubuntu. On Windows, it is only possible to build with GUI. Like @jagannatharjun says, it does seem to be necessary on Windows. No idea about macOS. |
Beta Was this translation helpful? Give feedback.
-
I would like to query the need for this particular dependency.
libqt5svg5-dev
/ https://github.com/qt/qtsvg documented here https://github.com/qbittorrent/qBittorrent/wiki/Compilation:-Debian-and-Ubuntu#qt-librariesI do not use this dependency to build my static binaries and for the relevant part of my build process.
I get no warnings, build errors, log messages or noticeable issues for the lack of this documented dependency.
https://packages.ubuntu.com/focal/qbittorrent < No! not a listed dependency
https://pkgs.alpinelinux.org/package/edge/testing/x86_64/qbittorrent-nox < No! not a listed dependency
https://www.archlinux.org/packages/community/x86_64/qbittorrent/ < Yes! a listed dependency
Can we clarify if this is needed and why, as currently don't understand if i need it or not.
edit: i'd consider it was a gui dependency and not a nox dependency, but neither Debian or ubuntu list it for the gui installation, so it confuses the matter further.
Beta Was this translation helpful? Give feedback.
All reactions