Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-85649

Improve warning message of issues in qmldir files

    XMLWordPrintable

Details

    Description

      When there is an error in a qmldir file, the warning message typically looks like this:

      somewhere/main.qml:9:1: a component declaration requires two or three arguments, but 4 were provided
      

      Problems

      • The message does not indicate that the problem is within a qmldir file.
      • The message does not indicate which line of the qmldir file is having the problem.

      Suggestions

      • Include the arguments in the message. Since it already detects that there is something wrong with the arguments, it would be reasonable to include the arguments in the message.
      • If possible: include the path (and line) of the affected qmldir file in the message.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            ignitor Jochen Ulrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes