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
qqmlprofilerservicefactory.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 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
7
9
10QQmlDebugService *QQmlProfilerServiceFactory::create(const QString &key)
11{
12 if (key == QQmlProfilerServiceImpl::s_key)
13 return new QQmlProfilerServiceImpl(this);
14
15 if (key == QQmlEngineControlServiceImpl::s_key)
16 return new QQmlEngineControlServiceImpl(this);
17
18 return nullptr;
19}
20
21QT_END_NAMESPACE
22
23#include "moc_qqmlprofilerservicefactory.cpp"