[Development] Adding support for version number comparisons

Jake Petroules jake.petroules at petroules.com
Sat May 10 20:18:04 CEST 2014


On 2014-05-10, at 02:11 PM, Thiago Macieira <thiago.macieira at intel.com> wrote:

> Em sáb 10 maio 2014, às 14:03:10, Jake Petroules escreveu:
>> With all the debate, I'm beginning to think that having distinct formats
>> available to conform to might not be such a bad idea after all (SemVer,
>> RpmVer, Dpkg, Freeform, etc...).
> 
> So how do you mean 1.0.0b compare greater than 1.0.0? (OpenSSL)
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center
> 
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development


OK, if suffix begins with '-', compare < empty, else, compare > empty.
-- 
Jake Petroules - jake.petroules at petroules.com
Chief Technology Officer - Petroules Corporation


More information about the Development mailing list