[Qt-interest] DBus / KDE 4. Disable for pure Qt program?
Nikos Chantziaras
realnc at arcor.de
Tue Aug 3 14:15:20 CEST 2010
On 08/03/2010 02:22 PM, Guido Seifert wrote:
> Hi,
> is there a way to tell a Qt program, which is started on KDE 4, not to use the DBus? A few weeks ago I asked how to disable certain annoying messages I receive on stderr, when I start some of my pure Qt programs on KDE 4. I got several proposals to switch them off using kdebugdialog. Unfortunately nothing worked and nobody could tell me what caused these message. I was not sure if this is a KDE or a Qt bug. Now I discovered that on startup my Qt program talks via the DBus daemon with KDE. Is the
> re a way to prevent this? Other than recompile Qt without dbus support?
DBus is used by KDE's Oxygen style. Even if you compile Qt without
dbus, Oxygen will still use it.
The only way to avoid that is not to use Oxygen ("-style CDE" and such.)
More information about the Qt-interest-old
mailing list