• Andre Hartmann's avatar
    Custom Error Parser · 4bc61eca
    Andre Hartmann authored
    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's avatarOrgad Shaneh <orgads@gmail.com>
    Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
    4bc61eca
projectexplorer.qbs 12.2 KB