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

lupdate's namespace handling confused by #define

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.1
    • 4.7.0
    • Tools: Linguist
    • None
    • f7db9a602a83b05ccad6ac33a2ab63acf3367481

    Description

      lupdate is confused by non-empty #define statements which immediately follow the opening of a namespace

      e.g., make ts-de in Qt Creator 2.1 prints:

      filenamevalidatinglineedit.cpp:95: tr() cannot be called without context
      filenamevalidatinglineedit.cpp:104: tr() cannot be called without context
      filenamevalidatinglineedit.cpp:106: tr() cannot be called without context
      filenamevalidatinglineedit.cpp:117: tr() cannot be called without context
      filenamevalidatinglineedit.cpp:128: tr() cannot be called without context

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes