[Breeze] [Bug 347547] Qt4 applications use wrong palette and icons w/ Breeze

Matthias Dahl ua_bugz_kde at binary-island.eu
Wed May 27 07:37:01 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=347547

--- Comment #14 from Matthias Dahl <ua_bugz_kde at binary-island.eu> ---
Sorry for not answering sooner but honestly I simply forgot. :-(

(In reply to Martin Klapetek from comment #11)
> Hey nice investigation!
> 
> Thanks for the details, might come handy sometime :)

Glad I was of help. :) And that gave me a nice excuse to finally do some C++
stuff again (nowadays you simply don't get much freelance work related to C++
which is super sad) and dive deep into how to debug Qt w/ naked gdb. ;-)

(In reply to Rex Dieter from comment #12)
> I'm asking mostly, because the other gui platform plugin for Qt4 I've ever
> seen, is the one that comes from kde-workspace-4.11.x

That's exactly where it comes from like Weng Xuetian already stated above. If
that one is missing, you only have Qt's own internal logic which is not too
sophisticated, e.g.:

http://code.qt.io/cgit/qt/qt.git/tree/src/gui/kernel/qkde.cpp#n59

That's pretty much why w/o the plugin, Qt is looking in ".kde" for kdeglobals
if KDE_SESSION_VERSION is anything other than 4.

To make a long story short: If you want Qt 4 apps to integrate well into KDE 5,
you will need that plugin installed which in-turn depends on kdelibs4.
Otherwise you are asking for trouble -- one way or the other. :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list