1 | // Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB). |
---|---|
2 | // Copyright (C) 2016 The Qt Company Ltd and/or its subsidiary(-ies). |
3 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
4 | |
5 | #include "qt3dquick3drenderplugin.h" |
6 | |
7 | #include <QtGui/qwindow.h> |
8 | |
9 | #include <Qt3DQuickRender/private/quick3dshaderdata_p.h> |
10 | #include <Qt3DQuickRender/private/quick3dshaderdataarray_p.h> |
11 | |
12 | QT_BEGIN_NAMESPACE |
13 | |
14 | Q_GHS_KEEP_REFERENCE(qml_register_types_Qt3D_Render); |
15 | Q_GHS_KEEP_REFERENCE(Qt3DRender::Quick::Quick3DRender_initialize); |
16 | |
17 | void Qt3DQuick3DRenderPlugin::registerTypes(const char *) |
18 | { |
19 | volatile auto registerFunction = &qml_register_types_Qt3D_Render; |
20 | volatile auto initializeFunction = &Qt3DRender::Quick::Quick3DRender_initialize; |
21 | Q_UNUSED(registerFunction); |
22 | Q_UNUSED(initializeFunction); |
23 | } |
24 | |
25 | QT_END_NAMESPACE |
26 | |
27 | #include "moc_qt3dquick3drenderplugin.cpp" |
28 | |
29 | |
30 |
Definitions
Learn Advanced QML with KDAB
Find out more