Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qquick3dspatialaudio_plugin.cpp
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-3.0-only
3
4#include <QtQml/qqmlextensionplugin.h>
5#include <QtQml/qqml.h>
6#include <QtQml/qqmlengine.h>
7#include <QtQml/qqmlcomponent.h>
9
11
13{
16
17public:
20 {
23 }
24
25 void initializeEngine(QQmlEngine *engine, const char *uri) override
26 {
28 Q_UNUSED(uri);
29 }
30};
31
33
34#include "qquick3dspatialaudio_plugin.moc"
35
\inmodule QtCore
Definition qobject.h:90
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
The QQmlEngineExtensionPlugin class provides an abstract base for custom QML extension plugins.
The QQmlEngine class provides an environment for instantiating QML components.
Definition qqmlengine.h:57
QQuick3DAudioModule(QObject *parent=nullptr)
void initializeEngine(QQmlEngine *engine, const char *uri) override
Initializes the extension from the uri using the engine.
Combined button and popup list for selecting options.
#define QQmlEngineExtensionInterface_iid
static const QQmlModuleRegistration registration("QtQml", qml_register_types_QtQml)
#define Q_OBJECT
#define Q_PLUGIN_METADATA(x)
#define Q_UNUSED(x)
QT_BEGIN_NAMESPACE void Q_MULTIMEDIAQUICK_EXPORT qml_register_types_QtQuick3D_SpatialAudio()
QJSEngine engine
[0]