[Qt-interest] DBus / KDE 4. Disable for pure Qt program?

Thiago Macieira thiago at kde.org
Tue Aug 3 14:46:44 CEST 2010


On Tuesday 3. August 2010 09.15.20 Nikos Chantziaras wrote:
> 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.)

That doesn't turn off the "GUI Platform plugin", which is a Qt 4.6 feature.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100803/9ce400e0/attachment.bin 


More information about the Qt-interest-old mailing list