This repository has been archived on 2024-05-25. You can view files and clone it, but cannot push or open issues or pull requests.
UTPass/plugins/Pass/plugin.cpp

11 lines
245 B
C++
Raw Permalink Normal View History

2019-09-20 19:29:39 +00:00
#include <QtQml>
#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; });
}