On my X230 running Xfce, qtbittorrent is unusable since buttons appear
bigger than the field they are in, i.e. text and icons are cropped.

Under Qt6 everything is rendered correctly.

Does anyone else see this?
Feedback? Objection? OK?

Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/net/qbittorrent/Makefile.inc,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile.inc
--- Makefile.inc        21 Jan 2023 07:04:30 -0000      1.24
+++ Makefile.inc        21 Jan 2023 07:13:26 -0000
@@ -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'
Index: qbittorrent/Makefile
===================================================================
RCS file: /cvs/ports/net/qbittorrent/qbittorrent/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- qbittorrent/Makefile        21 Jan 2023 07:04:30 -0000      1.22
+++ qbittorrent/Makefile        21 Jan 2023 07:13:26 -0000
@@ -1,15 +1,16 @@
 COMMENT =              BitTorrent client with Qt interface
+REVISION =             0
 
-WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5DBus Qt5Gui Qt5Network
-WANTLIB += Qt5Sql Qt5Widgets Qt5Xml boost_system-mt c crypto
-WANTLIB += execinfo m ssl torrent-rasterbar z
+WANTLIB += ${COMPILER_LIBCXX} GL Qt6Core Qt6DBus Qt6Gui Qt6Network
+WANTLIB += Qt6Sql Qt6Widgets Qt6Xml boost_system-mt c crypto execinfo
+WANTLIB += m ssl torrent-rasterbar z
 
 MODULES =              lang/python
 
 MODPY_BUILDDEP =       No
 MODPY_TESTDEP =                No
 
-BUILD_DEPENDS +=       x11/qt5/qtsvg
+BUILD_DEPENDS +=       x11/qt6/qtsvg
 
 LIB_DEPENDS +=         net/libtorrent-rasterbar \
                        devel/boost
Index: qbittorrent-nox/Makefile
===================================================================
RCS file: /cvs/ports/net/qbittorrent/qbittorrent-nox/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- qbittorrent-nox/Makefile    21 Jan 2023 07:04:30 -0000      1.13
+++ qbittorrent-nox/Makefile    21 Jan 2023 07:13:26 -0000
@@ -1,7 +1,8 @@
 COMMENT =              BitTorrent client with web interface
 PKGNAME =              qbittorrent-nox-${VER}
+REVISION =             0
 
-WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Network Qt5Sql Qt5Xml
+WANTLIB += ${COMPILER_LIBCXX} Qt6Core Qt6Network Qt6Sql Qt6Xml
 WANTLIB += boost_system-mt c crypto execinfo m ssl torrent-rasterbar
 WANTLIB += z
 

Reply via email to