Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
6.0.0 Beta2
-
None
-
-
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
For Gerrit Dashboard: QTBUG-88238 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
321569,2 | tst_qsslkey - handle QT_NO_SSL properly | dev | qt/qtbase | Status: MERGED | +2 | 0 |
321598,2 | tst_qsslkey - handle QT_NO_SSL properly | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |