| 1 | // Copyright (C) 2021 The Qt Company Ltd. |
|---|---|
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #include "qquick3dprofileradapterfactory.h" |
| 5 | #include "qquick3dprofileradapter.h" |
| 6 | #include <private/qqmldebugconnector_p.h> |
| 7 | #include <private/qqmldebugserviceinterfaces_p.h> |
| 8 | |
| 9 | QT_BEGIN_NAMESPACE |
| 10 | |
| 11 | QQmlAbstractProfilerAdapter *QQuick3DProfilerAdapterFactory::create(const QString &key) |
| 12 | { |
| 13 | if (key != QLatin1String("QQuick3DProfilerAdapter")) |
| 14 | return nullptr; |
| 15 | return new QQuick3DProfilerAdapter(this); |
| 16 | } |
| 17 | |
| 18 | QT_END_NAMESPACE |
| 19 | |
| 20 | #include "moc_qquick3dprofileradapterfactory.cpp" |
| 21 |
