Compile Output

Compile Output shows a more detailed version of information displayed in Issues.

{Compile Output}

Double-click a file name in an error message to open the file in the code editor.

To cancel the build, select the Cancel Build button.

To copy the output to the clipboard, select Select All in the context menu, and then select Copy. Save the output as a file if you want to examine it later without having to build the project again. This is useful for large projects that take a long time to build.

Compile Output Preferences

To specify whether to open the Compile Output view on output when building applications:

  1. Open the preferences:
    • In the Compile Output view, select (Open Settings Page).
    • Select Preferences > Build & Run > Compile Output.

    {Compile Output tab in Preferences}

  2. Select Open Compile Output when building.
  3. Select Discard excessive output to discard compile output that continuously comes in faster than it can be handled.
  4. In Limit output to, specify the maximum amount of build output lines to display.

Parsing Existing Compile Output

You can use Qt Creator's output parsers to parse output from builds done outside of Qt Creator or stored from previous build runs. By default, the parsers from the kit selected for the active project are used, but you can select another kit.

To parse compile output:

  1. Go to Tools > Parse Build Output.

  2. Paste the build output in Build Output, or select Load from File to load it from a file.
  3. Clear Output went to stderr if the parser expects issues on stdout.
  4. In Use parsers from kit, select the kit to use for parsing the output. Select Manage to view and modify kit settings.
  5. The parser displays the parsed output in Issues. By default, the view is cleared before adding the new output. Clear Clear existing tasks to append the new output to the old output.
  6. Select OK to start parsing.

See also View output, Add custom output parsers, and Kits.

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.