summaryrefslogtreecommitdiffstats
path: root/examples/tools/echoplugin/plugin/echoplugin.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-02-23 12:26:10 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-27 13:28:21 +0100
commitefde205586a70320d0525e941e5a1cd9657bdd30 (patch)
tree27101bae5d59a31bc6a52846d5fde76b8d529e5d /examples/tools/echoplugin/plugin/echoplugin.h
parent6df396286a3221d12e810c0aaa71c4aa68db3331 (diff)
Use new plugin system in qtbase.
- AccessibleWidgets - Windows printer support - Examples Change-Id: Icc162bd7fc284b3c76d9966210f983728085c743 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'examples/tools/echoplugin/plugin/echoplugin.h')
-rw-r--r--examples/tools/echoplugin/plugin/echoplugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/tools/echoplugin/plugin/echoplugin.h b/examples/tools/echoplugin/plugin/echoplugin.h
index d5e24b3b76..47373fc8cb 100644
--- a/examples/tools/echoplugin/plugin/echoplugin.h
+++ b/examples/tools/echoplugin/plugin/echoplugin.h
@@ -42,6 +42,7 @@
#define ECHOPLUGIN_H
#include <QObject>
+#include <QtPlugin>
#include "echoplugin.h"
#include "echointerface.h"
@@ -49,6 +50,7 @@
class EchoPlugin : public QObject, EchoInterface
{
Q_OBJECT
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.Examples.EchoInterface" FILE "echoplugin.json")
Q_INTERFACES(EchoInterface)
public: