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
qqmldebuggerservicefactory.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#include <private/qqmldebugserviceinterfaces_p.h>
8
10
11QQmlDebugService *QQmlDebuggerServiceFactory::create(const QString &key)
12{
13 if (key == QQmlEngineDebugServiceImpl::s_key)
14 return new QQmlEngineDebugServiceImpl(this);
15
16 if (key == QV4DebugServiceImpl::s_key)
17 return new QV4DebugServiceImpl(this);
18
19 return nullptr;
20}
21
22QT_END_NAMESPACE
23
24#include "moc_qqmldebuggerservicefactory.cpp"