Skip to content

Use KSERVICE_ENABLE_DEPRECATED_SINCE in header instead of BUILD variant

Alexander Lohnau requested to merge work/consistent_deprecation_version into master

This will allow consumers to hide the visibility of the public API. In frameworks that depend on it the KF_DISABLE_DEPRECATED_BEFORE_AND_AT value should get overwritten for the specific framework that which provides the deprecated functionality.

By using the 88 version number we don't break apps that use these method and have the KF_DISABLE_DEPRECATED_BEFORE_AND_AT set.

See kio!601 (merged) for reference.

@kossebau

Merge request reports