qt6gtk2 is already installed. Here are the packages that MX 23.6 Xfce ISO has that begin with qt:
Code: Select all
ii qt-heif-image-plugin 0.3.3-1~mx23 amd64 Qt 5 Plugin for HEIF Images
ii qt5-gtk-platformtheme:amd64 5.15.8+dfsg-11+deb12u2 amd64 Qt 5 GTK+ 3 platform theme
ii qt5-gtk2-platformtheme:amd64 5.0.0+git23.g335dbec-4+b7 amd64 Qt 5 extra widget styles - GTK+ 2 Platform theme
ii qt5-image-formats-plugins:amd64 5.15.8-2 amd64 Qt 5 Image Formats module
ii qt5-style-plugin-cleanlooks:amd64 5.0.0+git23.g335dbec-4+b7 amd64 Qt 5 extra widget styles - Cleanlooks
ii qt5-style-plugin-motif:amd64 5.0.0+git23.g335dbec-4+b7 amd64 Qt 5 extra widget styles - Motif
ii qt5-style-plugin-plastique:amd64 5.0.0+git23.g335dbec-4+b7 amd64 Qt 5 extra widget styles - Plastique
ii qt5-style-plugins:amd64 5.0.0+git23.g335dbec-4+b7 amd64 Qt 5 extra widget styles
ii qt6-gtk-platformtheme:amd64 6.4.2+dfsg-10 amd64 Qt 6 GTK+ 3 platform theme
ii qt6-translations-l10n 6.4.2-1 all translations for Qt 6
ii qt6gtk2:amd64 0.3-0.1~mx23+1 amd64 GTK 2 integration plugins for Qt6
Since I don't know crap, I thought maybe MX needed qt6ct or qt5ct so VB could recognize the font or some other setting they changed. It seems like I had problems with qt apps several years ago and went back to Linux Mint and everything worked.
I searched for PLATFORMTHEME in the config files in /etc and found
/etc/X11/Xsession.d/56xfce4-qtconfig
It has comments:
#set qt environment variables to follow user chosen platform
#default plugin is gtk2
#$HOME/.config/MX-Linux/qt_plugin.conf can hold a user settable value
I created a ~/.config/MX-Linux/qt_plugin.conf that only contains
qt6ct
Then I installed qt6ct, rebooted, ran qt6ct to select the fonts and icon theme and then VB worked.
Then I remembered that in the past some programs needed a ~/.gtkrc-2.0 file for gtk2 settings. I don't know if that is still true. MX 23 doesn't ship with it.