diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/deployqt.py | 2 | ||||
-rwxr-xr-x | scripts/qdoc2tasks.pl | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/scripts/deployqt.py b/scripts/deployqt.py index 9a49d54e11..c067d56b46 100755 --- a/scripts/deployqt.py +++ b/scripts/deployqt.py @@ -281,7 +281,7 @@ def main(): QT_INSTALL_QML = readQmakeVar(qmake_bin, 'QT_INSTALL_QML') QT_INSTALL_TRANSLATIONS = readQmakeVar(qmake_bin, 'QT_INSTALL_TRANSLATIONS') - plugins = ['accessible', 'codecs', 'designer', 'iconengines', 'imageformats', 'platforminputcontexts', 'platforms', 'printsupport', 'sqldrivers'] + plugins = ['accessible', 'codecs', 'designer', 'iconengines', 'imageformats', 'platformthemes', 'platforminputcontexts', 'platforms', 'printsupport', 'sqldrivers'] imports = ['Qt', 'QtWebKit'] if sys.platform.startswith('win'): diff --git a/scripts/qdoc2tasks.pl b/scripts/qdoc2tasks.pl new file mode 100755 index 0000000000..1d20895af8 --- /dev/null +++ b/scripts/qdoc2tasks.pl @@ -0,0 +1,26 @@ +#!/usr/bin/perl + +=head1 NAME + +qdoc2tasks.pl - Convert qdoc warnings into Qt Creator task files. + +=head1 SYNOPSIS + + qdoc2tasks.pl < logfile > taskfile + +=cut + +use strict; +use warnings; + +while (my $line = <STDIN>) { + chomp($line); + # --- 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"; + } +} |