diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(KCodecs VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.55.0 NO_MODULE) +find_package(ECM 5.54.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) diff --git a/src/kcodecs.h b/src/kcodecs.h --- a/src/kcodecs.h +++ b/src/kcodecs.h @@ -139,8 +139,10 @@ * * @param in data to be uuencoded * @return uuencoded string. + * @deprecated Always returns an empty bytearray. */ -KCODECS_EXPORT QByteArray uuencode(const QByteArray &in); +// TODO KF6 Remove? Or Make uuencode work? +KCODECS_DEPRECATED_EXPORT QByteArray uuencode(const QByteArray &in); /** * Encodes the given data using the uuencode algorithm. @@ -155,9 +157,10 @@ * output array will be lost. * * @param in data to be uuencoded. - * @param out uudecoded data. + * @param out an empty byte array */ -KCODECS_EXPORT void uuencode(const QByteArray &in, QByteArray &out); +// TODO KF6 Remove? Or Make uuencode work? +KCODECS_DEPRECATED_EXPORT void uuencode(const QByteArray &in, QByteArray &out); /** * Decodes the given data using the uudecode algorithm.