qtdeclarative/tests/auto/qmlnetwork
Ivan Solovev cea8a1f8e1 Deprecate QQmlSslConfiguration::sslOptions property
The property has two major issues:
* it is out of sync with the underlying m_configuration
* it does not allow to disable an SSL option once it was enabled

Fixing the behavior is considered dangerous, because it affects the
default SSL options, and so potentially affects the application
security.

As a result, it was decided to deprecate this property and introduce
a new one instead of it.

Move the QML tests of the deprecated property into a separate TestCase
and enable it conditionally based on the value of
QT_REMOVAL_QT7_DEPRECATED_SINCE(6, 11) macro. This requires to use
QUICK_TEST_MAIN_WITH_SETUP() macro and introduce a custom Setup class
to pass the proper value from C++ to QML.

[ChangeLog][QQmlNetwork][Deprecation Notices] Deprecated the sslOptions
property of sslConfiguration/sslDtlsConfiguration. Use the new
sslOptionFlags property instead.

Fixes: QTBUG-137900
Change-Id: I7cd559e32475272fa77ae9dbf735d70371755725
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2025-07-30 14:21:56 +02:00
..
qqmlnetworkinformation CMake: Don't enable ASM language 2025-05-02 16:02:32 +02:00
qqmlsslconfiguration Deprecate QQmlSslConfiguration::sslOptions property 2025-07-30 14:21:56 +02:00
qqmlsslconfiguration_cpp Deprecate QQmlSslConfiguration::sslOptions property 2025-07-30 14:21:56 +02:00
qqmlsslkey Tests: Fix various CMake warnings 2024-09-10 15:51:06 +02:00
CMakeLists.txt Add tests for QQmlSslConfiguration::sslOptions 2025-06-24 20:14:48 +02:00