[Development] so it turns out there *is* a way to get Qt5 apps to use a custom style automatically?
Morten.Sorvig at theqtcompany.com
Mon Sep 7 11:58:06 CEST 2015
> On 05 Sep 2015, at 15:39, René J. V. Bertin <rjvbertin at gmail.com> wrote:
> and I can indeed use `foo --style=kde` to start foo using the currently selected
> style for KDE applications. However:
> 1- simply setting KDEHOME to ~/.kde doesn't have any effect (it's not required
> for --style=kde to work either)
> 2- apparently, QCocoaIntegration::createPlatformTheme() is always called with
The catch may be that QCocoaTheme provides the native menu and dialog integration, which I think you want to keep when running KDE apps. (?)
I’m wondering, why is “--style=kde” not sufficient? Are you looking for a way to set the default style for the app?
More information about the Development