On Sat, Jan 21, 2023 at 07:18:28AM +0000, Klemens Nanni wrote:
> 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?

updated diff after wantlib and boost got sorted out.

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 10:45:28 -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.24
diff -u -p -r1.24 Makefile
--- qbittorrent/Makefile        21 Jan 2023 10:44:17 -0000      1.24
+++ qbittorrent/Makefile        21 Jan 2023 10:45:28 -0000
@@ -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
 
Index: qbittorrent-nox/Makefile
===================================================================
RCS file: /cvs/ports/net/qbittorrent/qbittorrent-nox/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- qbittorrent-nox/Makefile    21 Jan 2023 10:44:17 -0000      1.15
+++ qbittorrent-nox/Makefile    21 Jan 2023 10:45:28 -0000
@@ -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

Reply via email to