This is the Qt plugin that allows Qt apps to follow the GTK theme of the host.
The problem is that, it is highly likely that when an appimage is deployed, not all dependencies for libqgtk3.so are going to present, since that means gtk3, gio and gdk-pixbuf needs to be added to the container.
-
If all of gtk3 gets added to the application, nothing bad happens.
-
If none of gtk3 gets added, nothing bad happens either.
-
If some of the dependencies of libqgtk3.so get added, then issues happen
See pkgforge-dev/Dolphin-emu-AppImage#41
This was caused because the gdkpixbuf that linked to glycin was added to the appimage, this caused the application to crash when you went to use the file picker.
I fixed it by adding the gdk-pixbuf2 that doesn't depend on glycin, however a much better thing to do is just not deploy the dependencies of this at all.
You can test this with the Qt6+dbus demo here: https://github.com/pkgforge-dev/Anylinux-AppImages/releases/tag/demo
If the host has no gtk at all, Qt just doesn't use this plugin as it will fail to load:
And if the host has gtk installed, then Qt is able to use the plugin without issue, even if the host is alpine linux:

This is the Qt plugin that allows Qt apps to follow the GTK theme of the host.
The problem is that, it is highly likely that when an appimage is deployed, not all dependencies for
libqgtk3.soare going to present, since that means gtk3, gio and gdk-pixbuf needs to be added to the container.If all of gtk3 gets added to the application, nothing bad happens.
If none of gtk3 gets added, nothing bad happens either.
If some of the dependencies of
libqgtk3.soget added, then issues happenSee pkgforge-dev/Dolphin-emu-AppImage#41
This was caused because the gdkpixbuf that linked to glycin was added to the appimage, this caused the application to crash when you went to use the file picker.
I fixed it by adding the gdk-pixbuf2 that doesn't depend on glycin, however a much better thing to do is just not deploy the dependencies of this at all.
You can test this with the Qt6+dbus demo here: https://github.com/pkgforge-dev/Anylinux-AppImages/releases/tag/demo
If the host has no gtk at all, Qt just doesn't use this plugin as it will fail to load:
And if the host has gtk installed, then Qt is able to use the plugin without issue, even if the host is alpine linux: