Ticket #6830 (closed defect: wontfix)

Opened 8 years ago

Last modified 8 years ago

Qt themes are not applied

Reported by: e_val Owned by:
Priority: minor Component: GUI
Version: VirtualBox 3.2.0 Keywords: qt theme
Cc: Guest type: other
Host type: Linux


The version of Qt library bundled with VirtualBox for Linux binary (x86_64) releases doesn't make use of local Qt theme settings.

Reproducible: Always
Steps to reproduce:

  1. Install VirtualBox (3.2.0 is affected, and I guess prior version are too, although I haven't tested it) on KDE box with Oxygen (or any other visual theme of your choice) applied.
  2. Run its Qt GUI.

Expected results:

  1. You see Qt GUI with current theme applied.

Actual results:

  1. If Qt Config has "Desktop Settings" as your visual theme, you see Plastique in VirtualBox, which is Qt4 default. If it has something specific (like Oxygen, QtCurve etc), you see Windows-like GUI, which is a sign that Qt library can't find the theme specified

Change History

comment:1 Changed 8 years ago by poetzsch

I'm not fully sure if this is fixable. The Qt version which comes with VirtualBox has not to be the same as the one installed on the system. So the themes are probably not usable. Also if we try to add the themes path to the internal search path, we don't know how this path is. This highly depends on the Linux distribution used. Even if this would be solved VirtualBox can segfault if the versions mismatch.

For most modern Linux distributions are precombiled versions available. They use the Qt library from the distro itself and also the themes installed are usable. The run package is designed to have as little dependencies as possible to run on every distro. What you report is one of the prices for that generality.

comment:2 Changed 8 years ago by e_val

Yeah you are right, but there are some things to note. It is not easy to recompile VirtualBox for particular distro, as long as you are speaking about full (non-OSE) version. It's closed source, although I'm quite sure Qt GUI is the same in both editions. The Qt library itself can be substituted (i.e. one can easily make Qt GUI use the system Qt library), but this is (AFAIK) discouraged by VirtualBox developers.

Your remark on using theme engine form "different" (system-wide) Qt library is also reasonable, but again the issue can be solved by using system's Qt library (probably as an option).

comment:3 Changed 8 years ago by poetzsch

  • Status changed from new to closed
  • Resolution set to wontfix

I guess you are talking about Gentoo. Currently I'm not sure if USB and RDP support is fully disabled in the OSE GUI or if there is a runtime detection. You could ofc try to install the PUEL version and compile the GUI from the OSE package yourself. But please note: First I'm not sure if this is allowed from the PUEL license and second we can not give any support for such constellation.

comment:4 Changed 8 years ago by e_val

I guess you are talking about Gentoo.

No, it's a different distro. Anyway, we can substitute libQt???* with whatever we want without recompiling anything.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use