1// Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "qt3dquick3dlogicplugin.h"
5
6#include <Qt3DLogic/qframeaction.h>
7#include <QtQml>
8
9QT_BEGIN_NAMESPACE
10
11void Qt3DQuick3DLogicPlugin::registerTypes(const char *uri)
12{
13 qmlRegisterType<Qt3DLogic::QFrameAction>(uri, versionMajor: 2, versionMinor: 0, qmlName: "FrameAction");
14
15 // The minor version used to be the current Qt 5 minor. For compatibility it is the last
16 // Qt 5 release.
17 qmlRegisterModule(uri, versionMajor: 2, versionMinor: 15);
18}
19
20QT_END_NAMESPACE
21
22#include "moc_qt3dquick3dlogicplugin.cpp"
23

source code of qt3d/src/quick3d/imports/logic/qt3dquick3dlogicplugin.cpp