[Qt-creator] OutputTaskParser

Orgad Shaneh orgads at gmail.com
Wed Aug 23 10:19:06 CEST 2023


Attached. The script wraps the build command.

Notice that find_root is project-specific. You can use $BASH_SOURCE if the
script is in the project repo.

On Wed, Aug 23, 2023 at 10:10 AM Knut Petter Svendsen <
knutpett+qtcreator at pvv.org> wrote:

> > Can you explain why you need to patch the paths?
>
> The build system exports (copies) the header files to another directory
> before compiling. The "-I" options refer to that directory. So compiler
> errors in header files points to that location. When clicking on them the
> "wrong" file is opened. My plugin knows where the "real" source is, i just
> need to update the task.
>
> > If you build remotely, I have a script that translates paths on stderr,
> > which I can share if it helps you.
>
> Yes, please share the script. Does it wrap the build command?
>
> Knut
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20230823/57e7ad41/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: translate.sh
Type: text/x-sh
Size: 1029 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20230823/57e7ad41/attachment.sh>


More information about the Qt-creator mailing list