| 1 | // Copyright (C) 2017 The Qt Company Ltd. |
|---|---|
| 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 "qtquickscene2dplugin.h" |
| 5 | #include "qt3dquickscene2d_global_p.h" |
| 6 | |
| 7 | #include <QtCore/qcoreapplication.h> |
| 8 | |
| 9 | QT_BEGIN_NAMESPACE |
| 10 | |
| 11 | Q_GHS_KEEP_REFERENCE(qml_register_types_QtQuick_Scene2D); |
| 12 | Q_GHS_KEEP_REFERENCE(Qt3DRender::initScene2dPlugin); |
| 13 | |
| 14 | void QtQuickScene2DPlugin::registerTypes(const char *) |
| 15 | { |
| 16 | volatile auto registration = &qml_register_types_QtQuick_Scene2D; |
| 17 | volatile auto initialization = &Qt3DRender::initScene2dPlugin; |
| 18 | Q_UNUSED(registration); |
| 19 | Q_UNUSED(initialization); |
| 20 | } |
| 21 | |
| 22 | QT_END_NAMESPACE |
| 23 | |
| 24 | #include "moc_qtquickscene2dplugin.cpp" |
| 25 |
