Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmldebugpluginmanager_p.h
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
// Qt-Security score:significant
4
5
#
ifndef
QQMLDEBUGPLUGINMANAGER_P_H
6
#
define
QQMLDEBUGPLUGINMANAGER_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QDebug
>
20
#
include
<
private
/
qtqmlglobal_p
.
h
>
21
#
include
<
private
/
qfactoryloader_p
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
#
if
!
QT_CONFIG
(
qml_debug
)
26
27
#
define
Q_QML_DEBUG_PLUGIN_LOADER
(
interfaceName
)
28
static
interfaceName
*
load
##
interfaceName
(
const
QString
&
key
)
29
{
30
qWarning
(
)
<<
"Qml Debugger: QtQml is not configured for debugging. Ignoring request for"
31
<<
"debug plugin"
<<
key
;
32
return
0
;
33
}
34
Q_DECL_UNUSED
static
QList
<
QPluginParsedMetaData
>
metaDataFor
##
interfaceName
(
)
35
{
36
return
{
}
;
37
}
38
39
#
else
// QT_CONFIG(qml_debug)
40
41
#
define
Q_QML_DEBUG_PLUGIN_LOADER
(
interfaceName
)
42
Q_GLOBAL_STATIC_WITH_ARGS
(
QFactoryLoader
,
interfaceName
##
Loader
,
43
(
interfaceName
##
Factory_iid
,
QLatin1String
(
"/qmltooling"
)
)
)
44
static
interfaceName
*
load
##
interfaceName
(
const
QString
&
key
)
45
{
46
return
qLoadPlugin
<
interfaceName
,
interfaceName
##
Factory
>
(
interfaceName
##
Loader
(
)
,
key
)
;
47
}
48
Q_DECL_UNUSED
static
QList
<
QPluginParsedMetaData
>
metaDataFor
##
interfaceName
(
)
49
{
50
return
interfaceName
##
Loader
(
)
->
metaData
(
)
;
51
}
52
53
#
endif
// QT_CONFIG(qml_debug)
54
55
QT_END_NAMESPACE
56
#
endif
// QQMLDEBUGPLUGINMANAGER_P_H
QSqlRelationalDelegate
\inmodule QtSql
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
Q_QML_DEBUG_PLUGIN_LOADER
#define Q_QML_DEBUG_PLUGIN_LOADER(interfaceName)
Definition
qqmldebugpluginmanager_p.h:27
QQmlDebugConnectorParams
Definition
qqmldebugconnector.cpp:28
QQmlDebugConnectorParams::instance
QQmlDebugConnector * instance
Definition
qqmldebugconnector.cpp:32
QQmlDebugConnectorParams::arguments
QString arguments
Definition
qqmldebugconnector.cpp:31
QQmlDebugConnectorParams::QQmlDebugConnectorParams
QQmlDebugConnectorParams()
Definition
qqmldebugconnector.cpp:34
QQmlDebugConnectorParams::pluginKey
QString pluginKey
Definition
qqmldebugconnector.cpp:29
QQmlDebugConnectorParams::services
QStringList services
Definition
qqmldebugconnector.cpp:30
qtdeclarative
src
qml
debugger
qqmldebugpluginmanager_p.h
Generated on
for Qt by
1.18.0