1// Copyright (C) 2021 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 "qquick3dprofileradapterfactory.h"
5#include "qquick3dprofileradapter.h"
6#include <private/qqmldebugconnector_p.h>
7#include <private/qqmldebugserviceinterfaces_p.h>
8
9QT_BEGIN_NAMESPACE
10
11QQmlAbstractProfilerAdapter *QQuick3DProfilerAdapterFactory::create(const QString &key)
12{
13 if (key != QLatin1String("QQuick3DProfilerAdapter"))
14 return nullptr;
15 return new QQuick3DProfilerAdapter(this);
16}
17
18QT_END_NAMESPACE
19
20#include "moc_qquick3dprofileradapterfactory.cpp"
21

source code of qtquick3d/src/plugins/qmldbg_quick3dprofiler/qquick3dprofileradapterfactory.cpp