[Development] Source break policy for function overloads
Kai.Koehne at qt.io
Wed Jul 13 13:55:32 CEST 2016
> -----Original Message-----
> From: Development [mailto:development-bounces+kai.koehne=qt.io at qt-
> We do not have SC promise only BC. We tend to not break SC without
> reason, for example we avoid juggling with header files just to "cleanup"
> stuff, but definitely we reserve right to add overloads and new functions.
> That is the current state, whatever it make sense or not is a different
We should fix
I agree though that we can't guarantee source compatibility in all cases
(indirect includes are one example).
We could establish a rule that methods marked with Q_SLOTS shouldn't
be overloaded. Not that this would've helped, since QTimer::setInterval is not
marked as a slot.
More information about the Development