31 #if QT_VERSION < 0x050000 32 #include <QDeclarativeView> 33 #include <QDeclarativeError> 35 #include <QQuickWidget> 45 #if QT_VERSION < 0x050000 56 #if QT_VERSION < 0x050000 57 if (view->status () == QDeclarativeView::Error)
59 if (view->status () == QQuickWidget::Error)
62 qWarning () << Q_FUNC_INFO
64 for (
const auto& err : view->errors ())
70 #if QT_VERSION < 0x050000 71 SIGNAL (statusChanged (QDeclarativeView::Status)),
73 SIGNAL (statusChanged (QQuickWidget::Status)),
QmlErrorWatcher(QDeclarativeView *view)
Constructs the watcher for the given view.
Executes a given functor upon a signal (or a list of signals).