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

add -Werror switch to lupdate to make C++ and QML parsing errors change the exit code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.0.0, 5.1.0 , 5.2.0
    • Tools: Linguist
    • Linux/XUbuntu, Windows 7

    Description

      When running lupdate on a qml-file it will not set the return code to 1 in case of QML-parsing errors. This can happen if an invalid QML-file is tested.

      lupdate only set the return code to 1 in case of errors when using the .pro-file. But even then it will not react to QML-erros. With QML-error I mean errors due to QQMLEngine-parsing.

      I've attached a patch that will solve this problem.

      Attachments

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              ortogonal Erik Larsson
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes