Reactivate KF_DISABLE_DEPRECATED_BEFORE_AND_AT
-
Developer
@mlaurent BTW, if you need/want to have a lower bar for the deprecated API visibility of a certain KF module, you can set this by using the module specific flag, e.g. for KService API this would be
KSERVICE_DISABLE_DEPRECATED_BEFORE_AND_AT
. TheKF_DISABLE_DEPRECATED_BEFORE_AND_AT
sets a default for all modules, but is ignored when the module specific variable is set. So e.g. (random version values used just for example) you would have used it like this:add_definitions( # group default -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055100 # module specific # need to find a convert method for KPluginInfo::fromServices -DKSERVICE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054900 )
Some real life examples are:
Please register or sign in to comment