UTPassMirror/plugins/Pass/plugin.cpp
2019-03-13 19:38:12 +01:00

11 lines
271 B
C++

#include <QtQml>
#include <QtQml/QQmlContext>
#include "plugin.h"
#include "pass.h"
void PassPlugin::registerTypes(const char *uri) {
//@uri Pass
qmlRegisterSingletonType<Pass>(uri, 1, 0, "Pass", [](QQmlEngine*, QJSEngine*) -> QObject* { return new Pass; });
}