determine when a value was added to an enum
I keep running into the problem of seeing something in the qt5 documentation, and learning later (when someone reports a bug) that it's not 5.0.0+, but was introduced later. Is there any way to determine when something was introduced if it is not indicated in the documentation?
Do you mean check that the Qt version used to build the application is at least of a given version ? e.g. check if Qt is 5.5 at least to compile one functionality of your application ?
@SGaist How can I determine when
QPrinter::ArchAwas introduced? Someone using Qt5.3 could not build because
‘ArchA’ is not a member of ‘QPrinter’. I can't find a note about this in the documentation.
From the looks of QPrinter's header, it's been there since 5.0.0.