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 the Open Compile Output when building check box.
  3. In the Limit output to field, you can 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. Select Tools > Parse Build Output.

  2. Paste the build output in the Build Output field, or select Load from File to load it from a file.
  3. Deselect the Output went to stderr check box if the parser expects issues on stdout.
  4. In the Use parsers from kit field, 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. Deselect the Clear existing tasks check box to append the new output to the old output.
  6. Select OK to start parsing.

See also View output and Add custom output parsers.

© 2024 The Qt Company Ltd. 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.