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

[REG] qsslkey autotest has compile error when QT_NO_SSL is defined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 6.0.0 Beta2
    • Network: SSL
    • None
    • Linux/X11
    • 9662ff67cefe5882a07752dee97735ad36f40a15 (qt/qtbase/dev) 59dfbfb8ab875885e607f93639970922b494d8a7 (qt/qtbase/5.15)

    Description

      If QT_NO_SSL is defined, qtbase/tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp fails to compile with the following error:

      tst_qsslkey.cpp:129:53: error: incomplete type 'QSslConfiguration' used in nested name specifier
           const auto supportedCurves = QSslConfiguration::supportedEllipticCurves();
                                                           ^~~~~~~~~~~~~~~~~~~~~~~
      

      This occurs because the definition of the QSslConfiguration class is protected by "#ifndef QT_NO_SSL".

      The code that fails to compile was introduced recently in the commit 4f658d04da for QTBUG-46203.

       

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            macadder Jason McDonald
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes