[Development] setting default widgetStyle (and ColorScheme)

Aleix Pol aleixpol at kde.org
Sat Nov 28 03:51:18 CET 2015


On Sat, Nov 28, 2015 at 3:07 AM, René JV Bertin <rjvbertin at gmail.com> wrote:
>
>
> On 28 Nov 2015, at 01:07, Olivier Goffart <olivier at woboq.com> wrote:
>
>>>
>>> A pure KF5 system will not have ~/.kde*/share/config/kdeglobals, correct?
>>
>> That code was written for integrating into KDE 4.
>> It was not adapted to work with Plasma 5.
>>
>> A pure KF5 appliation would anyway use the KDE platform theme plugin provided
>> by KDE Frameworks.  (in frameworkintegration)
>> (So in other words: that code should not be executed when kde frameworks is
>> installed, in theory)
>
> In fact, my observations probably imply that the code *is* called when running "pure Qt5" apps under X11 (it is with the xcb plugin on OS X; I checked). If indeed so, I think it should be updated to comply with KF5 principles if KDE_SESSION_VERSION = 5 (and use the KDE4 config as a fallback). No?

No, it's not run when the frameworksintegration QPlatformTheme plugin
is loaded. If it was, it would be a bug.

Aleix

PS: René, cross-posting is bad. Let's bring the issues up in the
correct channels. If it was a bug in Qt, a bug report would have been
more appropriate.



More information about the Development mailing list