FOSSredder 0.5.0
Loading...
Searching...
No Matches
QmlDiagnostics.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include <memory>
9
10#include <QUrl>
11
12class QQmlEngine;
13class QQuickView;
14class QObject;
15
17class IErrorReporter;
18}
19
20namespace ui::bootstrap {
21
27void reportQmlLoadErrors(QQuickView* quickView, const QUrl& source,
28 core::ports::diagnostics::IErrorReporter* reporter);
29
36 QQmlEngine* engine, QObject* context,
37 std::shared_ptr<core::ports::diagnostics::IErrorReporter> reporter);
38
39} // namespace ui::bootstrap
Port for reporting structured diagnostic error events.
void reportQmlLoadErrors(QQuickView *quickView, const QUrl &source, core::ports::diagnostics::IErrorReporter *reporter)
Reports QQuickView load errors through the structured error reporter.
void wireQmlWarnings(QQmlEngine *engine, QObject *context, std::shared_ptr< core::ports::diagnostics::IErrorReporter > reporter)
Wires QQmlEngine runtime warnings into structured error reporting.