[Development] Adding support for version number comparisons
Simon Hausmann
simon.hausmann at digia.com
Mon Jun 2 09:36:20 CEST 2014
On Saturday 31. May 2014 15.02.49 Keith Gardner wrote:
[...]
> > And then you'd use: QVersion::compare(a, b, myCompare);
> >
> >
> > Big +1 to everything. This approach should serve everyones' use cases;
> > let's get this integration rolling.
>
> I can agree to that. I will have an update this weekend with this spec.
On the topic of this new class, I'd like to suggest a name different from
QVersion.
We have had a global function qVersion() for a long time and I'm worried that
a class name QVersion (as it appears in code completions, etc.) might mislead
users to thinking that it is related to the version of Qt, which it isn't.
I suggest a name that is more centric towards the _function_ of the class,
comparison of different software versions.
Simon
More information about the Development
mailing list