I don't know if this is intended behavior, but as far as I can tell, kdelibs built with and without KDE_NO_DEPRECATED have *incompatible ABIs*. So there will be problems if kdelibs is built with it defined and the app without it, or viceversa.