Commit c089bff6 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qt Formatter: Be less picky about file urls

Accept colon, space or tab after the location (url:line and optional :column).

Apparently in QML each and every error message is built up as the responsible
developer thinks it makes the most sense and no two seem to agree on a common

Task-number: QTCREATORBUG-10692
Change-Id: I103ae6eeb12b427cce2069db7da5d98a0737bda6
Reviewed-by: default avatarChristian Stenger <>
parent 80819b3d
......@@ -44,7 +44,7 @@ QtOutputFormatter::QtOutputFormatter(ProjectExplorer::Project *project)
, m_qmlError(QLatin1String("^(file:///.+" // file url
":\\d+" // colon, line
"(?::\\d+)?)" // colon, column (optional)
":")) // colon
"[: \t]")) // colon, space or tab
, m_qtError(QLatin1String("Object::.*in (.*:\\d+)"))
, m_qtAssert(QLatin1String("ASSERT: .* in file (.+, line \\d+)"))
, m_qtAssertX(QLatin1String("ASSERT failure in .*: \".*\", file (.+, line \\d+)"))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment