Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26109

File paths in custom error parsing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • Qt Creator 4.15.2
    • None
    • Windows

    Description

      I'm using QTCreator on windows with a custom build steps, when building starts in linux system over ssh. I use custom output paser to get errors in issues window.

      When I get errors, like that

       /home/user/my_project/main.cpp:10:5: error: expected ; before } token

      I tried use custom parser, like that

       /home/user/my_project/(.*):(\d+):(\d+): error: (.*)

       But in Windows this file have path for example:

       C:/build/my_project/main.cpp

       After that I can see error in issues, but path also \home\user\my_project\main.cpp and Show in Editor not work.

       

      Small update:

      Build directory and working directory in custom build step set

        C:/build/my_project

       

      Add some screenshots of my settings.

      1-3 build without custom parser

      4-6 build with custom parser

      7 parser settings

       

      Attachments

        1. 1.png
          49 kB
          FoxTrot -
        2. 10.png
          60 kB
          FoxTrot -
        3. 2.png
          16 kB
          FoxTrot -
        4. 3.png
          23 kB
          FoxTrot -
        5. 4.png
          50 kB
          FoxTrot -
        6. 5.png
          16 kB
          FoxTrot -
        7. 6.png
          23 kB
          FoxTrot -
        8. 7.png
          31 kB
          FoxTrot -
        9. 8.png
          48 kB
          FoxTrot -
        10. 9.png
          49 kB
          FoxTrot -
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            foxtrot FoxTrot -
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes