1 | #include <QObject> |
---|---|
2 | |
3 | class PluginClass : public QObject |
4 | { |
5 | Q_OBJECT |
6 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.tests.moc"FILE "staticplugin.json") |
7 | }; |
8 | |
9 | #include "main.moc" |
10 |
1 | #include <QObject> |
---|---|
2 | |
3 | class PluginClass : public QObject |
4 | { |
5 | Q_OBJECT |
6 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.tests.moc"FILE "staticplugin.json") |
7 | }; |
8 | |
9 | #include "main.moc" |
10 |