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
qquick3dprofileradapterfactory.cpp
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
6#include <private/qqmldebugconnector_p.h>
7#include <private/qqmldebugserviceinterfaces_p.h>
8
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"