summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qpluginloader/theplugin/theoldplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/plugin/qpluginloader/theplugin/theoldplugin.h')
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/theplugin/theoldplugin.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/corelib/plugin/qpluginloader/theplugin/theoldplugin.h b/tests/auto/corelib/plugin/qpluginloader/theplugin/theoldplugin.h
new file mode 100644
index 0000000000..786ce3f618
--- /dev/null
+++ b/tests/auto/corelib/plugin/qpluginloader/theplugin/theoldplugin.h
@@ -0,0 +1,21 @@
+// Copyright (C) 2021 Intel Corportaion.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+#ifndef THEOLDPLUGIN_H
+#define THEOLDPLUGIN_H
+
+#include <QObject>
+#include <QtPlugin>
+#include "plugininterface.h"
+
+class TheOldPlugin : public QObject, public PluginInterface
+{
+ Q_OBJECT
+ // Q_PLUGIN_METADATA intentionally missing
+ Q_INTERFACES(PluginInterface)
+
+public:
+ virtual QString pluginName() const override;
+};
+
+#endif // THEOLDPLUGIN_H
+