diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2013-08-05 21:30:41 +0300 |
---|---|---|
committer | André Hartmann <aha_1980@gmx.de> | 2013-08-08 11:50:08 +0200 |
commit | 4bc61ecac4701a0e4f4fa5c7e48986dcd687c11a (patch) | |
tree | 469d32aaa36072d9878c9669bb243e2c20b4e03c /src/plugins/projectexplorer/projectexplorer.pro | |
parent | 9249175a4baf7dbc355fd14c1aa8dc74280eeeb8 (diff) | |
download | qt-creator-4bc61ecac4701a0e4f4fa5c7e48986dcd687c11a.tar.gz |
Custom Error Parser
Allow setting the following items from outside:
* capture regular expression,
* file name, line number and message capture position and
* whether to parse stdout, stderr or both
The parser functions can be unit-tested by running (Debug build of Qt
Creator needed):
qtcreator -test ProjectExplorer,testCustomOutputParsers
The data is passed to the custom parser in
CustomToolChain::outputParser().
The parser information is stored in toolchains.xml together with the
custom toolchain. A configuration widget is provided to set up and test
the regular expression against a sample error message.
Change-Id: I6191df3c44432943e0aeb16c48d8e79d35845d2e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/projectexplorer.pro')
-rw-r--r-- | src/plugins/projectexplorer/projectexplorer.pro | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.pro b/src/plugins/projectexplorer/projectexplorer.pro index f778848240..d1a17621b2 100644 --- a/src/plugins/projectexplorer/projectexplorer.pro +++ b/src/plugins/projectexplorer/projectexplorer.pro @@ -130,7 +130,9 @@ HEADERS += projectexplorer.h \ deploymentdata.h \ buildtargetinfo.h \ customtoolchain.h \ - projectmacroexpander.h + projectmacroexpander.h \ + customparser.h \ + customparserconfigdialog.h SOURCES += projectexplorer.cpp \ abi.cpp \ @@ -246,7 +248,9 @@ SOURCES += projectexplorer.cpp \ devicesupport/desktopdeviceconfigurationwidget.cpp \ deployablefile.cpp \ customtoolchain.cpp \ - projectmacroexpander.cpp + projectmacroexpander.cpp \ + customparser.cpp \ + customparserconfigdialog.cpp FORMS += processstep.ui \ editorsettingspropertiespage.ui \ @@ -260,7 +264,8 @@ FORMS += processstep.ui \ devicesupport/devicefactoryselectiondialog.ui \ devicesupport/devicesettingswidget.ui \ devicesupport/devicetestdialog.ui \ - devicesupport/desktopdeviceconfigurationwidget.ui + devicesupport/desktopdeviceconfigurationwidget.ui \ + customparserconfigdialog.ui WINSOURCES += \ windebuginterface.cpp \ |