Why QStyleFactory::keys() is missing?
Hi; I tried this code:
qDebug() << QStyleFactory::keys();
Then I get this result:
("Windows", "Fusion"). Whereas I know
Plastique, GTK+, Mac etc.styles. Why
("Windows", "Fusion")? I'm using Qt 5.8, Thanks.
Not all platform has all styles.
So my guess would be you do this on windows 7 or newer.
Also They removed some in Qt5
"The styles we are primarily planning on removing are Motif, CDE, Cleanlooks and Plastique. Windows (classic) "
Thanks, well Can I set Gtk+ style any way? Else I have to create custom style?
Well you can still build the old styles and use them as you like.
Its mentioned in the link. :)