1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#ifndef STYLED_HPP #define STYLED_HPP #include <QStylePlugin> class StyleD : public QStylePlugin { Q_OBJECT // Json file in global sub director Q_PLUGIN_METADATA(IID "org.styles.D" FILE "sub/StyleD.json") public: QStyle* create(const QString& key); }; #endif