dfaure added a comment.
Thanks for the investigation. check_and_warn_compat does not warn for this testcase because the slot is deprecated too. Try a deprecated signal and a non-deprecated slot :-) 2714│ if (signal.attributes() & QMetaMethod::Compatibility) { 2715│ if (!(method.attributes() & QMetaMethod::Compatibility)) 2716│ qWarning("QObject::connect: Connecting from COMPAT signal (%s::%s)", 2717│ sender->className(), signal.methodSignature().constData()); REPOSITORY R263 KXmlGui BRANCH deprecatedapi REVISION DETAIL https://phabricator.kde.org/D24466 To: kossebau, #frameworks, dfaure, mlaurent Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns