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

Extra namespace qualification confuses lupdate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.6.1
    • Fix Version/s: None
    • Component/s: Tools: Linguist
    • Labels:

      Description

      namespace Ns {
      class Tr : public QObject
      {
          Q_OBJECT
          void func();
      };
      
      void Ns::Tr::func() // Ns is qualified although we're inside namespace Ns context
      {
          tr("message"); // Qualifying with unknown namespace/class ::Ns
      }
      }

        Attachments

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

          Activity

            People

            Assignee:
            kkohne Kai Köhne
            Reporter:
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes