Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] Why does a application ignore its plugin?
-
There is an example of plugin that exist in qt examples it is called 'styleplugin'
this simple plugin must change color of button to red but when i run it. it wont change the color of button.
(If you want test whole project go to example tab of qt creator and type 'plugin' then choose style plugin example)
-
Can you told which platform and Qt version are you using?
-
I have Qt 5.1 and my platform is xp.
-
Yes, it's a bug. It doesn't work for Windows and Mac.
Fix the constructor.
@
SimpleStyle():QProxyStyle(QStringLiteral("windows")) {}
@
-
Thanks a lot. It works.