[Interest] so it turns out there *is* a way to get Qt5 apps to use a custom style automatically?
René J. V. Bertin
rjvbertin at gmail.com
Fri Sep 4 19:17:50 CEST 2015
Thiago Macieira wrote:
> It's another type of plugin called "platformthemes". It's provided
> specifically for platforms that are written with Qt because of a dependency
> reversal: Qt itself cannot integrate with it from inside the platform plugin
> as it hasn't been built yet.
Are you saying it's impossible to get this to function on OS X (or MS Windows)?
I've started perusing the code, and I think this is the function that is
responsible for the feature under xcb :
QPlatformTheme *QXcbIntegration::createPlatformTheme(const QString &name) const
{
return QGenericUnixTheme::createUnixTheme(name);
}
qgenericunixtheme isn't included on OS X, but it doesn't appear to have hard
dependencies on X11, and QCocoaIntegration also has a createPlatformTheme method
that could call QGenericUnixTheme's under certain conditions (or so I hope)?
R
More information about the Interest
mailing list