Searching through the forum for past advice and experimenting locally I’ve figured out I can launch Qube Manager with a dark theme in 4.2/XFCE in two steps:
# Step 1: Make step 2 work
$ sudo qubes-dom0-update qt5-qtstyleplugins
# ...
# Step 2: Inherit my XFCE theme
# (E.g. System Settings -> Appearance -> Style = Adwaita-dark)
$ QT_QPA_PLATFORMTHEME=gtk2 qubes-qube-manager
# Success -- pleasantly dark Qube Manager.
# (Env assignment eventually to be appended to /etc/environment)
Everything seems great, except for a worrying error message to the terminal:
Cannot mix incompatible Qt library (5.15.5) with this library (5.15.10)
I would have expected such an error to be unrecoverable- but it doesn’t seem to be? Qube Manager appears to be functioning. Yet it makes me anxious, I want a rock solid Qube Manager.
Any intuition about whether I need to worry about this error in this tool and this context?
Any intuition about how I might resolve the incompatibility?
I assume it’s that one or more libraries in qt5-qtstyleplugins have been built against a different version of Qt than that of some underlying library/ies of qubes-qube-manager, and maybe I just need to reinstall a package or two, but I’m not clear on a straightforward way to dig deeper from here.
Thanks for checking. I bet this same error is emitted also when you launch through the GUI, it’s just you don’t see it because there’s no terminal to log it to. (qubes-qube-manager picks up QT_QPA_PLATFORMTHEME=gtk2 by way of /etc/environment in that case.)
I think the takeaway here is the error, though sounding dire, is not too important.