Page 1 of 1

Unable to compile from source

Posted: Mon Feb 07, 2022 1:26 pm
by dinjo
Tried steps from here on 4.2.5 Branch

https://github.com/qbittorrent/qBittorr ... and-Ubuntu

Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal

Not sure what is vals ?

Code: Select all

cd src/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /root/qBittorrent/src/src.pro -qtconf /usr/lib/aarch64-linux-gnu/qt5/qt.conf -early QMAKE_CC=aarch64-linux-gnu-gcc QMAKE_CXX=aarch64-linux-gnu-g++ QMAKE_LINK=aarch64-linux-gnu-g++ QMAKE_STRIP=aarch64-linux-gnu-strip QMAKE_QMAKE=/usr/bin/aarch64-linux-gnu-qmake PKG_CONFIG=aarch64-linux-gnu-pkg-config -before QMAKE_LRELEASE= ) && make -f Makefile
make[1]: Entering directory '/root/qBittorrent/src'
linking qbittorrent-nox
/usr/bin/ld: cannot find -lvals-NOTFOUND
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:635: qbittorrent-nox] Error 1
make[1]: Leaving directory '/root/qBittorrent/src'
make: *** [Makefile:47: sub-src-make_first] Error 2
With master branch it keeps failing with

Code: Select all

checking for Qt5 qmake >= 5.15.2... not found
configure: error: Could not find qmake

Code: Select all

root@n2:~/qBittorrent (master) [!1] # qmake --version
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/aarch64-linux-gnu

Re: Unable to compile from source

Posted: Sun Feb 27, 2022 6:59 pm
by Peter
Hmm Ubuntu 20.04 does not have the required Qt for a new build, but 4.2.5 should build fine.
Where did you grab the 4.2.5 branch?
You can grab tags here: https://github.com/qbittorrent/qBittorrent/tags

On 20.04, IF you want the GUI version, you can try using the AppImage.
If you only need the WebUI, you can try using the "qbittorrent-nox-static" project: https://github.com/userdocs/qbittorrent-nox-static