[Development] Adding support for version number comparisons

Keith Gardner kreios4004 at gmail.com
Wed May 14 15:45:28 CEST 2014


>
> Well, if you use a virtual, you'd simply subclass to handle the specific
> format for your project.
>
I haven't thought about using inheritance to simplify the compare but I
think that would provide the best compromise.  What are your thoughts about
comparing a QVersion to a QSpecializedVersion or a QSpecialized1Version to
a QSpecialized2Version since both would have different
isNonNumericalSectionLessThan functions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140514/4d360198/attachment.html>


More information about the Development mailing list