[Development] Adding support for version number comparisons

Thiago Macieira thiago.macieira at intel.com
Sun May 11 00:39:51 CEST 2014

Em sáb 10 maio 2014, às 22:04:26, Sune Vuorela escreveu:
> On 2014-05-10, Thiago Macieira <thiago.macieira at intel.com> wrote:
> > How do you make 5.3.0-rc1 compare less than 5.3.0?
> we call them 5.3.0~rc1.

And how does "5.3.0~rc1" compare less than "5.3.0"?

Anyway, you can't change the version string. Please note requirements from the 
original post:

>    - Plugin loading where there are multiple versions on the same system.
>    - File format validation.
>    - Executing an already installed command line application where the
>    behavior is dependent on the called application's version.
>    - Performing software installations and updates.
>    - QMake support for version number comparisons.

Four of the five of those require parsing input that other people create.
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list