Commit f0817081 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Add for converting qdoc warning logs into .tasks files.

Change-Id: Ia8f481b1473a2194d87cf7df00966917c3a4e341
Reviewed-by: default avatarOswald Buddenhagen <>
Reviewed-by: default avatarTobias Hunger <>
parent 5f161948
=head1 NAME - Convert qdoc warnings into Qt Creator task files.
=head1 SYNOPSIS < logfile > taskfile
use strict;
use warnings;
while (my $line = <STDIN>) {
# --- extract file name based matching:
# D:/.../qaxbase.cpp:3231: warning: Cannot tie this documentation to anything
if ($line =~ /^(..[^:]*):(\d+): warning: (.*)$/) {
my $fileName = $1;
my $lineNumber = $2;
my $text = $3;
print $fileName, "\t", $lineNumber, "\twarn\t", $text,"\n";
Supports Markdown
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