[Interest] KDE's qqc2-desktop-style

Jason H jhihn at gmx.com
Fri Mar 9 16:14:22 CET 2018


So I wrote the maintainer. He was amenable to it becoming a standard but cautioned that it's not the panacea that it seems to be - at least in its current form. However he thinks that if it were to become part of Qt the issues could be addressed by the Qt project.  He also stated that it had been discussed here and it was determined that there were "other plans" within Qt. But it seems that those never materialized? So maybe this should be reconsidered?

The severe limitation is that because of QStyle, it need to be linked with Widgets, which in turn requires QApplication instead of QGuiApplication. However I don't know why QStyle can't be copied into QtQuick for this one purpose. It only inherits QObject...


> Sent: Wednesday, March 07, 2018 at 2:51 PM
> From: "Jason H" <jhihn at gmx.com>
> To: "Nikos Chantziaras" <realnc at gmail.com>
> Cc: interest at qt-project.org
> Subject: Re: [Interest] KDE's qqc2-desktop-style
>
> > Sent: Wednesday, March 07, 2018 at 8:53 AM
> > From: "Nikos Chantziaras" <realnc at gmail.com>
> > To: interest at qt-project.org
> > Subject: Re: [Interest] KDE's qqc2-desktop-style
> >
> > On 06/03/18 19:45, Jason H wrote:
> > > https://api.kde.org/frameworks/qqc2-desktop-style/html/index.html
> > > So this combines QStyle with QML, so QML can be more widget like. Can this be a part of Qt?
> > 
> > This is just for KDE though, right? Interestingly, KDE is the only 
> > platform where my Qt applications don't look native, unless they compile 
> > it themselves (which they can't do in closed source applications; and 
> > most people don't compile applications themselves anyway.)
> 
> The line QT_QUICK_CONTROLS_STYLE=org.kde.desktop is only needed to it's not any of the other styles so that this style gets used. Sine it uses QStyle, which is already aware of platform styles, it should "just" work on all platforms where QStyle is supported! Yee-haw!
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 



More information about the Interest mailing list