qgtkstyle is a QT4 style that uses the current GTK theme. When gtk-chtheme changes your theme, it misses an important variable that is needed by qgtkstyle in ~/.gtkrc-2.0, gtk-theme-name = "NAME". I am attaching a patch and new ebuild for gtk-chtheme that makes it add the required variable in .gtkrc-2.0 when you select a theme. Note that for this to work you also need to add export GTK2_RC_FILES="`pwd`/.gtkrc-2.0" in /etc/profile or similar. I've added the necessary ewarns in the ebuild... Reproducible: Always Steps to Reproduce: 1. install qgtkstyle from voyageur overlay 2. run qtconfig 3. if the proper variables are not set and you select the GTK style, you get the error "QGtkStyle cannot be used together with the GTK_Qt engine." Actual Results: QT4 prints the error "QGtkStyle cannot be used together with the GTK_Qt engine." and switches to the default GTK theme (clearlooks for me). Expected Results: QT4 should use the selected GTK theme
Created attachment 174851 [details, diff] patch that makes gtk-chtheme add 'gtk-theme-name = NAME' in gtkrc-2.0
Created attachment 174853 [details] updated ebuild that uses previous patch
any upstream bug to refer to ?
I've emailed the patch and fix details to the gtk-chtheme author. I'll update this bug when I get a response.
the fix didn't look so crazy after all so I added it to 0.3.1-r2. Thanks for the patch.