Compile Output
Compile Output shows a more detailed version of information displayed in Issues.
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:
- Open the preferences:
- In the Compile Output view, select (Open Settings Page).
- Select Preferences > Build & Run > Compile Output.
- Select Open Compile Output when building.
- Select Discard excessive output to discard compile output that continuously comes in faster than it can be handled.
- 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:
- Go to Tools > Parse Build Output.
- Paste the build output in Build Output, or select Load from File to load it from a file.
- Clear Output went to stderr if the parser expects issues on
stdout
. - In Use parsers from kit, select the kit to use for parsing the output. Select Manage to view and modify kit settings.
- 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.
- 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.