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) 2024 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#include <QtQml/qqmlextensionplugin.h>
5#include <QtQml/qqml.h>
6#include <QtQml/qqmlengine.h>
7
8#include <QtQuick3DXr/qtquick3dxrglobal.h>
9
10QT_BEGIN_NAMESPACE
11
12class QtQuick3DXrPlugin : public QQmlEngineExtensionPlugin
13{
14 Q_OBJECT
15 Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
16
17public:
18 QtQuick3DXrPlugin(QObject *parent = nullptr) : QQmlEngineExtensionPlugin(parent)
19 {
20 volatile auto registration = &qml_register_types_QtQuick3D_Xr;
21 Q_UNUSED(registration);
22 }
23};
24
25QT_END_NAMESPACE
26
27#include "plugin.moc"