Why is Qt6 reliant on GTK3?

qt-6-base relies on gtk3. Why?
If an answer explicated is elsewhere (as a page on Qt's website), I wouldn't mind a URL thereto.
 
It's being pulled in due to this in devel/qt6-base:
Code:
USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 pango
I can't tell you why though, but the port Makefile specifically pulls it in.
 
It's likely for compatibility with GTK themes. That was the case with QT5, so I suspect it's the same for QT6.
 
It's likely for compatibility with GTK themes. That was the case with QT5, so I suspect it's the same for QT6.
AFAIK it not just that but also for platform native features. For example QFileDialog will use Gtk.FileChooser under the hood (if native & available).
The same goes for QColorPicker and so on.
 
Or if you use packages try and delete gtk3 it will tell you what depends on it.

pkg delete -n gtk3
-n is dry run

Well, it is possible that deleting that dependency in ports and compiling them will actually work. The ./configure script (or equivalent) could just skip some functionality and mosy on.
 
Back
Top