解析编译输出

您可以使用Qt Creator 的输出解析器来解析在Qt Creator 以外完成的构建或以前的构建运行中存储的输出。默认情况下,将使用活动项目所选工具包中的解析器,但也可以选择其他工具包。

要解析构建输出,请

  1. 转到Tools >Parse Build Output ,或在Issues 视图中选择从外部构建输出创建问题 (Create Issues From External Build Output)。

    解析构建输出对话框

  2. 将构建输出粘贴到Build Output ,或选择Load from File 从文件加载。
  3. 如果解析器预计stdout 上会出现问题,请清除Output went to stderr
  4. Use parsers from kit 中,选择用于解析输出的工具包。选择Manage 查看和修改工具包设置。
  5. 解析器会在Issues 中显示解析后的输出。默认情况下,在添加新输出前会清除视图。清除Clear existing tasks 可将新输出追加到旧输出中。
  6. 选择OK 开始解析。

另请参阅 问题

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.