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

Hard build errors are treated as mere warnings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 2.4.2
    • Qt Creator Integration
    • None
    • Linux/X11

    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

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

        Activity

          People

            kandeler Christian Kandeler
            lennartrolland@gmail.com Lennart Rolland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes