Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1780

qbs list-products produces additional output

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 2.2.2
    • Command Line Frontend
    • None
    • All

    Description

      Reported by the user:

      > qbs list-products
      Build graph does not yet exist for configuration 'default'. Starting from scratch.
      Resolving project for configuration default
      Probing '~/Work/megaproject/3rdparty/conanfile.txt'. This might take a while...
      Getting info about Qt at '~/Work/Libraries/Qt6/6.6.0/macos/bin/qmake'...
      Setting up Qt module 'core' for Qt located at '~/Work/Libraries/Qt6/6.6.0/macos/bin/qmake'.
      ... 
      

      Obviously, this makes this mode not very useful since it is hard to separate actual output and qbs logs.
      A partial workaround is to call qbs resolve first - maybe we need to ensure it is called before qbs-list products?

      Possible options:
      1. Add the -silent switch that disables all except warnings/errors
      2. Write qbs output to stderr in this mode
      3. Add an option to redirect actual list to a file
      4. Add an option to redirect Qbs output to a file. Qbs output is the output not related to the result, i.e. products list

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            arch Ivan Komissarov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes