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

error: no matching constructor for initialization of 'QSslServer'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 6.4.0 Beta1
    • 6.4.0 Beta1
    • Qt Http Server
    • None
    • cec9c0b4d0 (qt/qthttpserver/6.4) 0584094861 (qt/qthttpserver/dev)

    Description

      agent:2022/06/09 03:20:24 build.go:394: /Users/qt/work/qt/qthttpserver/src/httpserver/qabstracthttpserver.cpp:172:49: error: no matching constructor for initialization of 'QSslServer'
      agent:2022/06/09 03:20:24 build.go:394:     QTcpServer *tcpServer = d->sslEnabled ? new QSslServer(d->sslConfiguration, this)
      agent:2022/06/09 03:20:24 build.go:394:                                                 ^          ~~~~~~~~~~~~~~~~~~~~~~~~~
      agent:2022/06/09 03:20:24 build.go:394: /Users/qt/work/install/lib/QtNetwork.framework/Headers/qsslserver.h:27:25: note: candidate constructor not viable: requires 1 argument, but 2 were provided
      agent:2022/06/09 03:20:24 build.go:394:     Q_DISABLE_COPY_MOVE(QSslServer)
      agent:2022/06/09 03:20:24 build.go:394:                         ^
      agent:2022/06/09 03:20:24 build.go:394: /Users/qt/work/install/lib/QtNetwork.framework/Headers/qsslserver.h:27:25: note: candidate constructor not viable: requires 1 argument, but 2 were provided
      agent:2022/06/09 03:20:24 build.go:394: /Users/qt/work/install/lib/QtNetwork.framework/Headers/qsslserver.h:30:14: note: candidate constructor not viable: allows at most single argument 'parent', but 2 arguments were provided
      agent:2022/06/09 03:20:24 build.go:394:     explicit QSslServer(QObject *parent = nullptr);
      agent:2022/06/09 03:20:24 build.go:394:              ^
      agent:2022/06/09 03:20:24 build.go:394: 1 error generated.
      

      Build log: https://testresults.qt.io/logs/qt/qthttpserver/cdc191c51a6e192e3645773ded8d7c7c3b70a3ad/MacOSMacOS_12arm64MacOSMacOS_12arm64Clangqtci-macos-12-arm64WarningsAreErrors/913bc9f7e2ae3c11277137981f2ee074cc907b1e/build_1654744885/log.txt.gz

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

      Tested changes (refs/builds/qtci/6.4/1654744794):
      https://codereview.qt-project.org/c/qt/qthttpserver/+/415069/2 Update dependencies on '6.4' in qt/qthttpserver

      Attachments

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

        Activity

          People

            oyheskes Øystein Heskestad
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes