aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/4 qt/plugin/plugin.h
blob: c8e14e4638ae517db3ed647539a4cda1fc731b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
#include <plugin_if.h>

class plugin1:public QObject,public PluginInterface
{
    Q_OBJECT
    Q_INTERFACES(PluginInterface)
#if QT_VERSION >= 0x050000
    Q_PLUGIN_METADATA(IID "demo.PluginInterface" FILE "plugin.json")
#endif

public:
    QString getResource() override;
};