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

Output from custom commands gets misinterpreted as errors

    XMLWordPrintable

Details

    • 7b408a9a7ae86ecac3b4bff518104924e59bacf5

    Description

      Example CMake-Project:

       
      cmake_minimum_required(VERSION 3.12)

      project(Foo)

      add_custom_target(foo ALL
      ${CMAKE_COMMAND} -E echo
      "assets by chunk 3.84 MiB (auxiliary name: common) 22 assets"
      VERBATIM
      )
       
      The output from the custom target in the example (and in my actual case the output from multiple custom commands with distinct origin e.g. Conan and webpack) gets interpreted as errors.
       
      This incorrectly adds an error in the Issues pane and when trying to run results in a modal "Ignore All Errors?" dialog.
       
      The build system itself reports no errors (exist status is 0).
       
      I see I am able to define and use additional "Custom Output Parsers" but I don't see any option to deactivate, modify or inspect the default parser(s).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kandeler Christian Kandeler
              ngladitz Nils Gladitz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes