Code scanning and analysis tools create report files in ASCII format. Usually, the report files consist of lines that contain a file name, a line number, and an error message. A similar format is used for stack traces obtained from crash reports. Traditionally, you would fix the errors by manually navigating to them and correcting them, which is tedious.
Qt Creator makes this very easy by providing a way to load these files into the Issues pane. You can navigate to the corresponding source code by clicking the error message. But first you must convert the files to the Task List File Format by using conversion scripts that based on standard text processing tools of the operating system.
In addition, you can generate task list files from code. For an example of a script that checks new lines of code and matches them against regular expressions to generate a task list, see scripts\mytasks.pl in the Qt Creator repository.
To open task list files, choose File > Open.
The filename extension must be .tasks for Qt Creator to recognize a file as a task list file.
Each line in a task list file is treated as a tab-separated list of strings with \t, \n, and \\ used as escape characters. The strings are used to create one task per line. The lines can have one of the following formats:
The task type can have one of the following values:
The values are not case sensitive.
Lines starting with the hash mark character (#) in the first column are ignored.