Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
2.2.2
-
None
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