4
我有运行在Qt Creator的自定义生成步骤如下脚本:可以从Qt Creator中的自定义构建步骤中获取构建警告吗?
git ls-files . | egrep "\.cpp$|\.h$" | xargs vera++
,然后给出了输出:
foo/bar.cpp:1: no copyright notice found
另一个脚本,我也用的是:
cppcheck . --template gcc -q --enable=style,unusedFunctions
带输出:
apple.h:8: style: The class 'MyPie' has no constructor. Member variables
not initialized.
我很想双击错误并转到Compile Output窗口中的源代码。看起来,只有gcc错误被检测到,并且即使它们具有相同格式,这些自定义错误也会被忽略。
谢谢您的回答写在Qt Creator的错误追踪功能请求 – 2010-05-22 21:53:26