I want to build qBittorrent v3.4.0alpha with qt5, but I'm getting errors.
In this qBittorrent version qt5 is the default, but ruing ./configure --with-qt4 && make builds it using qt4, which is working fine. But I want qt5.
I have downloaded a bunch of qt5 packages, including qtbase5-dev and qttools5-dev-tools as suggested here (https://github.com/qbittorrent/qBitt...ian-and-Ubuntu). The configure script seems to be finding what it is looking for:
Code:
checking whether Qt4 should be enabled... no checking for /usr/lib/x86_64-linux-gnu/qt5/bin/qmake... yes checking for Qt5 qmake >= 5.2.0... /usr/lib/x86_64-linux-gnu/qt5/bin/qmake checking whether QtDBus should be enabled... yes checking for Qt5DBus >= 5.2.0... found
Code:
compiling base/utils/misc.cpp
base/utils/misc.cpp: In function ‘QString Utils::Misc::osName()’:
base/utils/misc.cpp:647:10: error: ‘prettyProductName’ is not a member of ‘QSysInfo’
.arg(QSysInfo::prettyProductName())
^
base/utils/misc.cpp:648:10: error: ‘keelVersion’ is not a member of ‘QSysInfo’
.arg(QSysInfo::keelVersion())
^
base/utils/misc.cpp:649:10: error: ‘currentCpuArchitecture’ is not a member of ‘QSysInfo’
.arg(QSysInfo::currentCpuArchitecture());
^
برچسب:
نویسنده: استخدام کار