Custom parser fails to capture QML errors from application output
-
Hi,
I would like to capture and show all warning and errors from QML application run.
In Edit -> Preferences -> Build & Run -> Custom Output Parsers I added new parser, set^.*(qrc:.*?):(\d*):?\d*?: (.*)as capture pattern on std output and error.
Test line from logs is correctly matched.
(
Parser has Run default checked - so according to my understanding - it should parser this what I see in Application Output bottom pane.
Additionaly - in Projects panels, Run Settings tab inside Custom Output Parsers my parser is explicitly selected as active.
Yet, despite 10+ entries about missing image, url or binding loops - nothing shows up inside Issues bottom pane.How to make output log entries like
[2026-02-06 08:54:26.492][WARN]: qrc:/qt/qml/Initialization.qml:15:5: QML QQuickImage: Cannot open:be visible in Issues pane? -
-
@aha_1980 Unfortunately- no, nothing change. Still lacks of issues.
I moved patter from warnings tab to error. -
@SebastianM Which Qt Creator version is that?
-
From what I understood, if the line is already parsed by Qt Creator as an error/warning it won't be passed to your custom output parsers.
-
Qt Creator v18.0.1.
Qt Creator nicely captures and presents errors from BUILD time.
However, not from RUNTIME.