When running enlightenment (instead of kde) most gtk2 apps do not get properly themed by gtk-engines-qt-0.70. Application background and some application menus (e.g. firefox) won't match qt colours. This is probably an environment variable problem: export GTK2_RC_FILES=$HOME/.gtkrc-2.0:$HOME/.kde/share/config/gtkrc-2.0 fixes the problem (assuming that ~/.kde is a symlink to your kde-settings) I wonder whether the kde config-dir is the right place to put those things anyway. Lots of qt apps can be used without having kde installed, so ~/.qt might be a better place. Also I suggest to set GTK2_RC_FILES somewhere global to make it work in enlightenment and other wm as well.
can you please submit your suggestions to upstream? Gentoo is only packaging it and prefers to change it as little as possible.
UPSTREAM
Sorry for reopening this bug. I think, setting the correct (global) environment variables depends pretty much on the linux distribution, so the ebuild shoud take care of it. At least there should be a message for the user during emerge that it must be set and how to set it. Most people won't figure this out on their on.
You are right I should care about this problem (in fact on close look I see it too) But then again you are wrong that this is a Gentoo issue. See the following patch: http://genstef.homelinux.org/kcmgtk.diff Usually a file should be installed in /etc/X11/xinit/xinitrc.d/gtk-engines-qt instead. Maybe you want to test it?
Changing ~/.bashrc is what I tried first. This might fix a few minor issues for people using xterm in kde. Though it's not being sourced by enlightenment nor eterm, so if I start apps from the enlightenment startmenu the environment variable doesn't get set. However a file in /etc/X11/xinit/xinitrc.d/gtk-engines-qt works great and appears to be a reasonable solution. Can't we just add the file to the ebuild?
I mailed upstream about this issue and added the patch + xinitrc.d, thanks :) double tape fixes better another problem that I still see is that xinitrc.d is not used everywhere. But this is a separate issue that should be solved where it occurs.
Sorry, just one last thing: The file created in /etc/X11/xinit/xinitrc.d/ is not been marked with the execute-flag and thus has no affect. Solution: chmod a+x /etc/X11/xinit/xinitrc.d/gtk-engines-qt
thanks, I fixed that, too.