[][src]Function qt_qml::qt_qml::qml_debug_q_object_q_list_of_q_qml_error

pub unsafe fn qml_debug_q_object_q_list_of_q_qml_error(
    me: impl CastInto<Ptr<QObject>>,
    errors: impl CastInto<Ref<QListOfQQmlError>>
) -> CppBox<QQmlInfo>

Prints debug messages that include the file and line number for the specified QML object.

Calls C++ function: QQmlInfo QtQml::qmlDebug(const QObject* me, const QList<QQmlError>& errors).

Warning: no exact match found in C++ documentation. Below is the C++ documentation for QQmlInfo QtQml::qmlDebug(const QObject *object):

Prints debug messages that include the file and line number for the specified QML object.

When QML types produce logging messages, it improves traceability if they include the QML file and line number on which the particular instance was instantiated.

To include the file and line number, an object must be passed. If the file and line number is not available for that instance (either it was not instantiated by the QML engine or location information is disabled), "unknown location" will be used instead. For example,

qmlDebug(object) << "Internal state: 42";

prints

QML MyCustomType (unknown location): Internal state: 42

This function was introduced in Qt 5.9.

See also QtQml::qmlInfo and QtQml::qmlWarning.