Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
2.4.2
-
None
-
-
fe871be12 (master), 27ef56295 (master)
Description
Whenever I make a mistake in my Qbs files some warnings will pop up in the issues view in QtCreator on the following form:
some_qbs_file.qbs:19: warning: Property 'configure' is not declared.
some_qbs_file.qbs:15: warning: Error while handling product 'libcombined':
:-1: warning: toPrimitive
some_qbs_file.qbs:15: warning: Product 'libcombined' had errors and was disabled.
If I have warnings enabled in QtCreator it will look like this;
However if you disable warnings, which is a very common practice for large projects, (or else you will be distracted by a jungle of warnings all the time), it will look like this:
Please notice the distinct lack of any indication that half my project won't be built today.
I would like to see the following changes:
- When Qbs drops a whole file because of errors, it should be notified to the user as an error.
- This "show as an error or warning" thing should be set as an option in project Qbs build options, with the default being "show as error".'
- When entire parts of the project are disabled due to errors, it should be mentioned in "General Messages" as well, regardless of what options are enabled/disabled.
Attachments
For Gerrit Dashboard: QBS-1818 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
613002,3 | Show errors instead of warnings in a number of places | master | qbs/qbs | Status: MERGED | +2 | +1 |
613302,2 | QbsProjectManager: Adapt to upstream API change | master | qt-creator/qt-creator | Status: MERGED | +2 | +1 |