Applications written with the Qt3 toolkit are usually found in KDE. However, GNOME users may find that there are many non-KDE applications that are using Qt, such as VirtualBox. By default, these applications use an ugly Motif theme. You can fix this without installing any KDE dependencies.
Both the Qt configuration utility and the Polymer theme don’t have any KDE dependencies, so they’ll work well for GNOME users.
Install the two packages:
sudo apt-get install qt3-qtconfig polymer
Run the configuration utility from the command line:
You can set up Qt however you like using this utility to match your own GTK theme. Here’s what I did to match the Clearlooks theme:
In the Appearance tab, use the Select GUI Style drop down box and select Polymer. Click Tune Palette. In the Central color roles area, select Background and set the colour to R237 G236 B235. Select Highlight and set it to R78 G118 B168. Close the tuning dialog. Open the Fonts tab. Change the font Family to sans-serif and the Size to 10. Save and quit the utility.
Your changes will be applied immediately. Here’s VirtualBox now: