Switch to Qt6

At least under Xfce when using a custom (lower) DPI value, qbittorrent is
unusable as buttons get cropped to the point where their text is no longer
visible;  menus have the wrong size.

Use Qt6 to get proper rendering and a usable UI.

(Other Qt5 apps like KeePassXC are fine, regardless of DPI and/or desktop
environment.)

maintainer timeout
OK rsadowski
This commit is contained in:
kn 2023-01-28 19:12:08 +00:00
parent ac791cd458
commit febf9dfa93
3 changed files with 8 additions and 7 deletions

View File

@ -18,8 +18,9 @@ PERMIT_PACKAGE = Yes
MASTER_SITES ?= ${MASTER_SITE_SOURCEFORGE:=qbittorrent/}
MODULES += devel/cmake \
x11/qt5
x11/qt6
CONFIGURE_STYLE = cmake
CONFIGURE_ARGS += -DQT6=ON
# for automatic stacktraces on crash: autoconf links it, cmake does not
CONFIGURE_ARGS += -DCMAKE_EXE_LINKER_FLAGS='${LDFLAGS} -lexecinfo'

View File

@ -1,8 +1,8 @@
COMMENT = BitTorrent client with web interface
PKGNAME = qbittorrent-nox-${VER}
REVISION = 1
REVISION = 2
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Network Qt5Sql Qt5Xml
WANTLIB += ${COMPILER_LIBCXX} Qt6Core Qt6Network Qt6Sql Qt6Xml
WANTLIB += c crypto execinfo m ssl torrent-rasterbar z
BUILD_DEPENDS += devel/boost

View File

@ -1,8 +1,8 @@
COMMENT = BitTorrent client with Qt interface
REVISION = 1
REVISION = 2
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5DBus Qt5Gui Qt5Network
WANTLIB += Qt5Sql Qt5Widgets Qt5Xml c crypto execinfo m ssl torrent-rasterbar
WANTLIB += ${COMPILER_LIBCXX} GL Qt6Core Qt6DBus Qt6Gui Qt6Network
WANTLIB += Qt6Sql Qt6Widgets Qt6Xml c crypto execinfo m ssl torrent-rasterbar
WANTLIB += z
MODULES = lang/python
@ -11,7 +11,7 @@ MODPY_BUILDDEP = No
MODPY_TESTDEP = No
BUILD_DEPENDS += devel/boost \
x11/qt5/qtsvg
x11/qt6/qtsvg
LIB_DEPENDS += net/libtorrent-rasterbar