And ensure deprecation warnings for bot Qt and KF versions higher than the specified ones are shown when building.