core: improve log format for QML errors and warnings

This commit is contained in:
outfoxxed 2025-05-26 03:25:42 -07:00
parent 4472b27039
commit ec433d1a70
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 44 additions and 8 deletions

View file

@ -4,8 +4,10 @@
#include <qdir.h>
#include <qfilesystemwatcher.h>
#include <qhash.h>
#include <qlist.h>
#include <qobject.h>
#include <qqmlengine.h>
#include <qqmlerror.h>
#include <qqmlincubator.h>
#include <qtclasshelpermacros.h>
@ -82,6 +84,7 @@ private slots:
void onFileChanged(const QString& name);
void onDirectoryChanged();
void incubationControllerDestroyed();
void onEngineWarnings(const QList<QQmlError>& warnings) const;
private:
void postReload();