vendored-meson/meson/test cases/frameworks/4 qt/plugin/plugin.h
raw| 1 | #pragma once |
| 2 | #include <plugin_if.h> |
| 3 | |
| 4 | class plugin1:public QObject,public PluginInterface |
| 5 | { |
| 6 | Q_OBJECT |
| 7 | Q_INTERFACES(PluginInterface) |
| 8 | #if QT_VERSION >= 0x050000 |
| 9 | Q_PLUGIN_METADATA(IID "demo.PluginInterface" FILE "plugin.json") |
| 10 | #endif |
| 11 | |
| 12 | public: |
| 13 | QString getResource() override; |
| 14 | }; |