forked from qt-creator/qt-creator
Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
12 lines
227 B
C++
12 lines
227 B
C++
#pragma once
|
|
|
|
#include <QQmlExtensionPlugin>
|
|
|
|
class MyPlugin : public QQmlExtensionPlugin
|
|
{
|
|
Q_OBJECT
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
|
|
public:
|
|
void registerTypes(const char *uri);
|
|
};
|