On Mon, Oct 7, 2013 at 10:21 AM, Michael Goffioul
<address@hidden> wrote:
On Mon, Oct 7, 2013 at 11:01 AM, Patrick Noffke
<address@hidden> wrote:
Others at the link below seem to observe that gconftool-2 did affect Qt-only applications.
I can't seem to get my build to not show icons in the menus. I added test code in octave-gui.cc to print and change the style (using QObject::objectName and qDebug to print the name, and QStyleFactory::create and QApplication::setStyle to set the style). By default, I'm using the oxygen style. When I set it to GTK+, gconftool-2 still does not seem to affect whether or not menu icons show up.
Qt has a GTK style widget set, and in the Qt 5 source code, the file qtbase/src/widgets/styles/qgtkstyle_p.cpp parses the gtkrc file (though it only looks for buttons_have_icons -- I don't see any mention of menus_have_icons). But gconftool-2 does not seem to affect this style (both buttons and menus always have icons).
Patrick