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

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes