Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
plugin.cpp
Go to the documentation of this file.
1
// Copyright (C) 2021 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
include
<
QtQml
/
qqmlextensionplugin
.
h
>
6
#
include
<
QtQml
/
qqml
.
h
>
7
#
include
<
QtQml
/
qqmlengine
.
h
>
8
9
#
include
<
QtQuick3DPhysics
/
qtquick3dphysicsglobal
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
class
QtQuick3DPhysicsPlugin :
public
QQmlEngineExtensionPlugin
14
{
15
Q_OBJECT
16
Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
17
18
public
:
19
QtQuick3DPhysicsPlugin(QObject *parent =
nullptr
) : QQmlEngineExtensionPlugin(parent)
20
{
21
volatile
auto
registration = &qml_register_types_QtQuick3D_Physics;
22
Q_UNUSED(registration);
23
}
24
};
25
26
QT_END_NAMESPACE
27
28
#
include
"plugin.moc"
qtquick3dphysics
src
quick3dphysics
plugin.cpp
Generated on
for Qt by
1.16.1