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
9QT_BEGIN_NAMESPACE
10
11Q_GHS_KEEP_REFERENCE(qml_register_types_QtQuick_Scene2D);
12Q_GHS_KEEP_REFERENCE(Qt3DRender::initScene2dPlugin);
13
14void 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
22QT_END_NAMESPACE
23
24#include "moc_qtquickscene2dplugin.cpp"
25

source code of qt3d/src/quick3d/quick3dscene2d/qtquickscene2dplugin.cpp