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

error: ‘const class QList<std::pair<QByteArray, QByteArray> >’ has no member named ‘toListOfPairs’

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P0: Blocker P0: Blocker
    • None
    • 6.8.0 FF
    • Qt Http Server
    • None
    • 3
    • Foundation Sprint 100

       home/qt/work/qt/qthttpserver/src/httpserver/qhttpserverrequest.cpp:643:32: error: ‘const class QList<std::pair<QByteArray, QByteArray> >’ has no member named ‘toListOfPairs’
        643 |     return d->parser.headers().toListOfPairs();
            |                                ^~~~~~~~~~~~~
      Sccache command failed, re-try calling build tool directly
      /home/qt/work/qt/qthttpserver/src/httpserver/qhttpserverrequest.cpp: In member function ‘QList<std::pair<QByteArray, QByteArray> > QHttpServerRequest::headers() const’:
      /home/qt/work/qt/qthttpserver/src/httpserver/qhttpserverrequest.cpp:643:32: error: ‘const class QList<std::pair<QByteArray, QByteArray> >’ has no member named ‘toListOfPairs’
        643 |     return d->parser.headers().toListOfPairs();
            |                                ^~~~~~~~~~~~~
      ninja: build stopped: subcommand failed.
      Process finished with error: exit status 1
      

      Build log: https://testresults.qt.io/logs/qt/qthttpserver/5b15ee9a6006d796532172857c4d3beeb2d76c3c/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-51-4552c7Sccache_UseConfigure/a01fdc97730f3c9124119ab6994b469dc1ed928f/build_1706706925/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qthttpserver/tasks/1706706830

      Tested changes (refs/builds/qtci/dev/1706358769):
      https://codereview.qt-project.org/c/qt/qthttpserver/+/534907/2 Update dependencies on 'dev' in qt/qthttpserver
      https://codereview.qt-project.org/c/qt/qthttpserver/+/528347/3 Fix usage of QHttpHeaderParser in QHttpServerRequest

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

            lenabiliaieva Olena Biliaieva
            janihe Jani Heikkinen
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes