Red Hat Bugzilla – Bug 503258
qtconfig-qt4 does not apply gtk theme to apps
Last modified: 2009-05-29 23:08:46 EDT
Description of problem:
When selecting GTK+ from the Appearance tab of qtconfig-qt4, it doesn't apply to any apps.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Fire up qtconfig-qt4
2. Set the theme to use GTK+
3. Fire up any KDE app from within Gnome, notice how ugly it looks
Ugly widgets in all apps
My GTK theme should have been used in all apps
Setting [General] widgetStyle=GTK+ in ~/.kde/share/config/kdeglobals got me my desired result. The packaging of QGtkStyle in Fedora 10 seemed to do something to take precedence over KDE settings, but I don't know what...
So, as I'm not sure I understood you correctly on IRC: does this only affect KDE apps? Or does qtconfig-qt4 fail to apply the theme entirely, even to Qt-only apps (such as qtconfig-qt4 itself)?
Kevin: I can only assume that Qt-only apps are fine as changing this setting does indeed change the widgets of qtconfig-qt4. I don't actually use any other Qt-only apps though, so I can't say 100%.
Well, then everything is working as designed, KDE as shipped by upstream intentionally overrides Qt's style (forcing Oxygen (on X11, the native style on Window$/Mac) or whatever is set up in kdeglobals), so it's normal that qtconfig-qt4 doesn't take effect. (KDE apps have to be set up through systemsettings from kdebase-workspace.)