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

lupdate fails when there's enum in a QML file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.15.1
    • Tools: Linguist
    • None
    • Windows 10 - 1903
    • Windows

    Description

      I found that if there's enum declaration in a QML file, lupdate command can't detect some translation entries in that file. By running lupdate it gives error messages like:

       

      error: Unexpected token `reserved word'
      enum ListMode

      { [...] }

      lupdate can successfully detect all translation entries if I delete the enum declration.

      Attachments

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

        Activity

          People

            lugerard Lucie Gerard
            retep Peter Einsiedel
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes