Solved Standalone QFusionStyle plugin
-
I used to work with a Qt4 port of QFusionStyle which was slightly tweaked.
Now I'd like to replicate this with Qt5 but I can't manage to setup a project to build QFusionStyle as a standalone plugin.
There are many private includes and even with the right QT+=widget-private options I end up with many link errors.
When did fusion stopped being a plugin? -
Hi
Are you sure it was a plugin ever in Qt5 ?
Seems that in older versions styles was part of QtWidgets module and in 5.10 split to
plugins. Could not find concrete info so not sure fusion ever was. ( confirmed)In any case, you could reuse their plugin code
https://github.com/randrew/phantomstyle
and use your own drawing code.
That should give you a plugin to use. -
The fusion style was never a plugin in Qt5 - it was in QtWidgets all the time (and is).
-
Thank you for your replies