QQmlDebuggingEnabler#

Synopsis#

Static functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtQml.QQmlDebuggingEnabler([printWarning=true])#

Note

This constructor is deprecated.

Parameters:

printWarning – bool

PySide6.QtQml.QQmlDebuggingEnabler.StartMode#
static PySide6.QtQml.QQmlDebuggingEnabler.connectToLocalDebugger(socketFileName[, mode=QQmlDebuggingEnabler.StartMode.DoNotWaitForClient])#
Parameters:
Return type:

bool

static PySide6.QtQml.QQmlDebuggingEnabler.debuggerServices()#
Return type:

list of strings

static PySide6.QtQml.QQmlDebuggingEnabler.enableDebugging(printWarning)#
Parameters:

printWarning – bool

static PySide6.QtQml.QQmlDebuggingEnabler.inspectorServices()#
Return type:

list of strings

static PySide6.QtQml.QQmlDebuggingEnabler.nativeDebuggerServices()#
Return type:

list of strings

static PySide6.QtQml.QQmlDebuggingEnabler.profilerServices()#
Return type:

list of strings

static PySide6.QtQml.QQmlDebuggingEnabler.setServices(services)#
Parameters:

services – list of strings

static PySide6.QtQml.QQmlDebuggingEnabler.startDebugConnector(pluginName[, configuration=QVariantHash()])#
Parameters:
  • pluginName – str

  • configuration – Dictionary with keys of type .QString and values of type QVariant.

Return type:

bool

static PySide6.QtQml.QQmlDebuggingEnabler.startTcpDebugServer(port[, mode=QQmlDebuggingEnabler.StartMode.DoNotWaitForClient[, hostName=""]])#
Parameters:
  • port – int

  • modeStartMode

  • hostName – str

Return type:

bool