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
          1.png
          49 kB
        2. 10.png
          10.png
          60 kB
        3. 2.png
          2.png
          16 kB
        4. 3.png
          3.png
          23 kB
        5. 4.png
          4.png
          50 kB
        6. 5.png
          5.png
          16 kB
        7. 6.png
          6.png
          23 kB
        8. 7.png
          7.png
          31 kB
        9. 8.png
          8.png
          48 kB
        10. 9.png
          9.png
          49 kB
        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