7#include <QtQml/qtqmlglobal.h>
8#include <QtCore/qstring.h>
9#include <QtCore/qvariant.h>
10#include <QtCore/qhash.h>
14#if QT_CONFIG(qml_debug)
16struct Q_QML_EXPORT QQmlDebuggingEnabler
23 static void enableDebugging(
bool printWarning);
25#if QT_DEPRECATED_SINCE(6, 4)
27 "or just call QQmlDebuggingEnabler::enableDebugging().")
28 QQmlDebuggingEnabler(
bool printWarning = true);
38 static bool startTcpDebugServer(
int port, StartMode
mode = DoNotWaitForClient,
40 static bool connectToLocalDebugger(
const QString &socketFileName,
41 StartMode
mode = DoNotWaitForClient);
42 static bool startDebugConnector(
const QString &pluginName,
49struct QQmlTriviallyDestructibleDebuggingEnabler {
50 QQmlTriviallyDestructibleDebuggingEnabler(
bool printWarning =
true)
52 static_assert(std::is_trivially_destructible_v<QQmlTriviallyDestructibleDebuggingEnabler>);
53 QQmlDebuggingEnabler::enableDebugging(printWarning);
57#if defined(QT_QML_DEBUG_NO_WARNING)
58static QQmlTriviallyDestructibleDebuggingEnabler qQmlEnableDebuggingHelper(
false);
59#elif defined(QT_QML_DEBUG)
60static QQmlTriviallyDestructibleDebuggingEnabler qQmlEnableDebuggingHelper(
true);
std::vector< ObjCStrongReference< CBMutableService > > services
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
QHash< QString, QVariant > QVariantHash
#define QT_DEPRECATED_VERSION_X_6_4(text)