Re: [Development] setting default widgetStyle (and ColorScheme)

2015-11-28 Thread René J . V . Bertin
Aleix Pol wrote: >> 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

Re: [Development] setting default widgetStyle (and ColorScheme)

2015-11-28 Thread Kai Uwe Broulik
Hi, > A priori users should then still be able to use Qt's native Macintosh "aqua" theme by selecting it as their KDE widget style. I think it should do that automatically anyway. I wouldn't want to install System Settings to begin with, let alone manually choosing the platform-native look.

Re: [Development] setting default widgetStyle (and ColorScheme)

2015-11-28 Thread René J . V . Bertin
btw, I'm also fine with having to set, say, KDE_SESSION_VERSION to a meaningful value in order to get automatic loading of the selected KDE theme, at least as long as it's possible to set env. variables session-wide on OS X. R. ___

Re: [Development] setting default widgetStyle (and ColorScheme)

2015-11-28 Thread René J . V . Bertin
Kai Uwe Broulik wrote: >> A priori users should then still be able to use Qt's native Macintosh "aqua" > theme by selecting it as their KDE widget style. > > I think it should do that automatically anyway. I wouldn't want to install > System Settings to begin with, let alone manually choosing

Re: [Development] setting default widgetStyle (and ColorScheme)

2015-11-27 Thread Olivier Goffart
On Friday 27. November 2015 23:39:07 René J.V. Bertin wrote: > Digging through Qt's source code to figure out if and how I can get KF5 > applications to honour theming settings on OS X, I observe the following in > class QKdeThemePrivate in qgenericunixthemes.cpp: > > static QString

Re: [Development] setting default widgetStyle (and ColorScheme)

2015-11-27 Thread René JV Bertin
On 28 Nov 2015, at 01:07, Olivier Goffart 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

Re: [Development] setting default widgetStyle (and ColorScheme)

2015-11-27 Thread Aleix Pol
On Sat, Nov 28, 2015 at 3:07 AM, René JV Bertin wrote: > > > On 28 Nov 2015, at 01:07, Olivier Goffart wrote: > >>> >>> A pure KF5 system will not have ~/.kde*/share/config/kdeglobals, correct? >> >> That code was written for integrating into KDE 4. >> It

Re: [Development] setting default widgetStyle (and ColorScheme)

2015-11-27 Thread René J . V . Bertin
On Saturday November 28 2015 01:07:17 Olivier Goffart wrote: > > A pure KF5 system will not have ~/.kde*/share/config/kdeglobals, correct? > > That code was written for integrating into KDE 4. That much was clear :) > A pure KF5 appliation would anyway use the KDE platform theme plugin