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

[5.15.0 alpha] deprecated iterator operator used when QSet used as a signal/slot parameter

    XMLWordPrintable

Details

    • f949f336888c7205d06b56073805e201246fae9c (qt/qtbase/5.15)

    Description

      Using a QSet as signal/slot parameter results in a warning:

      C:\Qt\5.15.0\mingw73_64\include\QtCore\qset.h:177: warning: 'QHash<K, V>::const_iterator& QHash<K, V>::const_iterator::operator--() [with Key = QString; T = QHashDummyValue]' is deprecated [-Wdeprecated-declarations]
      inline QT_DEPRECATED const_iterator &operator--() { --i; return *this; }
      ^~~

      Steps to reproduce:

      1. Build the attached project
      2. Observe compile output

      Attachments

        Issue Links

          Activity

            People

              manordheim MÃ¥rten Nordheim
              miikapernu Miika Pernu
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: