diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -136,7 +136,7 @@ GROUP_BASE_NAME KF VERSION ${KF5_VERSION} DEPRECATED_BASE_VERSION 0 - DEPRECATION_VERSIONS 3.0 3.1 3.4 4.0 4.3 4.5 4.6 5.0 5.2 5.8 5.24 5.45 5.48 5.63 5.61 5.64 + DEPRECATION_VERSIONS 3.0 3.1 3.4 4.0 4.3 4.5 4.6 5.0 5.2 5.8 5.24 5.45 5.48 5.63 5.61 5.64 5.65 ) # TODO: add support for EXCLUDE_DEPRECATED_BEFORE_AND_AT to all KIO libs # needs fixing of undeprecated API being still implemented using own deprecated API diff --git a/src/core/ksslerroruidata.h b/src/core/ksslerroruidata.h --- a/src/core/ksslerroruidata.h +++ b/src/core/ksslerroruidata.h @@ -43,10 +43,14 @@ * Default construct an instance with no useful data. */ KSslErrorUiData(); +#if KIOCORE_ENABLE_DEPRECATED_SINCE(5, 65) /** * Create an instance and initialize it with SSL error data from @p socket. + * @deprecated since 5.65, use QSslSocket variant */ + KIOCORE_DEPRECATED_VERSION(5, 65, "Use QSslSocket variant") KSslErrorUiData(const KTcpSocket *socket); +#endif /** * Create an instance and initialize it with SSL error data from @p socket. */