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

QtNetworkAuth: Fix compiler warnings for QNX

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.3, 6.3.0 Beta2
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      QNX

      Description

      agent:2022/03/10 05:16:24 build.go:394: /home/qt/work/qt/qtnetworkauth/tests/auto/oauth1/tst_oauth1.cpp: In member function 'void tst_OAuth1::getToken()':
      agent:2022/03/10 05:16:24 build.go:394: /home/qt/work/qt/qtnetworkauth/tests/auto/oauth1/tst_oauth1.cpp:472:72: warning: 'void QMultiMap<Key, T>::insert(QMultiMap<Key, T>&&) [with Key = QString; T = QVariant]' is deprecated: Use unite() instead [-Wdeprecated-declarations]
      agent:2022/03/10 05:16:24 build.go:394: modifiedHeaders.insert(QMultiMap<QString, QVariant>(parameters));
      agent:2022/03/10 05:16:24 build.go:394: ^
      agent:2022/03/10 05:16:24 build.go:394: In file included from /home/qt/work/install/target/include/QtCore/qvariant.h:47,
      agent:2022/03/10 05:16:24 build.go:394: from /home/qt/work/install/target/include/QtCore/qabstractitemmodel.h:47,
      agent:2022/03/10 05:16:24 build.go:394: from /home/qt/work/install/target/include/QtCore/QtCore:13,
      agent:2022/03/10 05:16:24 build.go:394: from /home/qt/work/qt/qtnetworkauth/tests/auto/oauth1/tst_oauth1.cpp:29:
      agent:2022/03/10 05:16:24 build.go:394: /home/qt/work/install/target/include/QtCore/qmap.h:1504:10: note: declared here
      agent:2022/03/10 05:16:24 build.go:394: void insert(QMultiMap<Key, T> &&map)
      agent:2022/03/10 05:16:24 build.go:394: ^~~~~~
      agent:2022/03/10 05:16:24 build.go:394: /home/qt/work/qt/qtnetworkauth/tests/auto/oauth1/tst_oauth1.cpp: In member function 'void tst_OAuth1::prepareRequestSignature()':
      agent:2022/03/10 05:16:24 build.go:394: /home/qt/work/qt/qtnetworkauth/tests/auto/oauth1/tst_oauth1.cpp:597:62: warning: 'void QMultiMap<Key, T>::insert(QMultiMap<Key, T>&&) [with Key = QString; T = QVariant]' is deprecated: Use unite() instead [-Wdeprecated-declarations]
      agent:2022/03/10 05:16:24 build.go:394: authArgs.insert(QMultiMap<QString, QVariant>(extraParams));
      agent:2022/03/10 05:16:24 build.go:394: ^
      agent:2022/03/10 05:16:24 build.go:394: In file included from /home/qt/work/install/target/include/QtCore/qvariant.h:47,
      agent:2022/03/10 05:16:24 build.go:394: from /home/qt/work/install/target/include/QtCore/qabstractitemmodel.h:47,
      agent:2022/03/10 05:16:24 build.go:394: from /home/qt/work/install/target/include/QtCore/QtCore:13,
      agent:2022/03/10 05:16:24 build.go:394: from /home/qt/work/qt/qtnetworkauth/tests/auto/oauth1/tst_oauth1.cpp:29:
      agent:2022/03/10 05:16:24 build.go:394: /home/qt/work/install/target/include/QtCore/qmap.h:1504:10: note: declared here
      agent:2022/03/10 05:16:24 build.go:394: void insert(QMultiMap<Key, T> &&map)
      agent:2022/03/10 05:16:24 build.go:394: ^~~~~~

        Attachments

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

          Activity

            People

            Assignee:
            jefernan Jesus Fernandez
            Reporter:
            papetaja Pasi Petäjäjärvi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes