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

tst_qlinkedlist.cpp doesn't build: missing QLinkedListIterator

    XMLWordPrintable

Details

    • 93be44c9c1 (qt/qt5compat/dev) 36acacc192 (qt/qt5compat/6.2) 5a391b2347 (qt/qt5compat/6.3) 36acacc192 (qt/qt5compat/6.2.4) 5a391b2347 (qt/qt5compat/6.3.0) 36acacc192 (qt/qt5compat/6.2) 36acacc192 (qt/qt5compat/6.2) 36acacc192 (qt/tqtc-qt5compat/6.2)

    Description

      /home/rutledge/dev/qt6/qt5compat/tests/auto/core5/tools/qlinkedlist/tst_qlinkedlist.cpp: In member function ‘void tst_QLinkedList::iterators() const’:
      /home/rutledge/dev/qt6/qt5compat/tests/auto/core5/tools/qlinkedlist/tst_qlinkedlist.cpp:1100:9: error: ‘QLinkedListIterator’ was not declared in this scope; did you mean ‘QLinkedListData’?
       1100 |         QLinkedListIterator<int> i = list;
            |         ^~~~~~~~~~~~~~~~~~~
            |         QLinkedListData
      /home/rutledge/dev/qt6/qt5compat/tests/auto/core5/tools/qlinkedlist/tst_qlinkedlist.cpp:1100:29: error: expected primary-expression before ‘int’
       1100 |         QLinkedListIterator<int> i = list;
            |                             ^~~
      
      blah blah blah
      

      it's because of missing QLinkedListIterator and QMutableLinkedListIterator, but shouldn't this qt5compat module provide them? git grep finds docs but not implementation.

      Attachments

        For Gerrit Dashboard: QTBUG-100359
        # Subject Branch Project Status CR V

        Activity

          People

            mmutz Marc Mutz
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: