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

lupdate is fooled by template forwards

    XMLWordPrintable

Details

    • Windows

    Description

      Attached qtbug34928-template-forwards.zip is getting error with:

      // Without this template forward lupdate works as expected.
      template<class T> class QList;
      

      Then error is:

      C:/work/LupdateFooledByTemplateForward/MainWindow.cpp:
      7: Qualifying with unknown namespace/class ::MainWindow
      

      If that template is removed from MainWindow.hpp, lupdate works normally.

      Attachments

        1. lupdate.patch
          0.7 kB
          Eirik Aavitsland
        2. qtbug34928-template-forwards.zip
          1 kB
          Akihito Izawa

        Issue Links

          Activity

            People

              kkohne Kai Köhne
              akizawa Akihito Izawa
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: