[Development] Comparison of version numbers in qmake project files

Konstantin Tokarev annulen at yandex.ru
Tue Mar 7 12:52:51 CET 2017



07.03.2017, 13:54, "Alexander Volkov" <a.volkov at rusbitech.ru>:
> Hi,
>
> Need more reviewers for https://codereview.qt-project.org/#/c/181665/
> which adds test functions for comparing version numbers:
>
> versionNumberAtLeast(VERSION, 5.10.0) {
>      ...
> }
>
> versionNumberLessThan(VERSION, 5.10.0) {
>      ...
> }

Wow, it happened!

>
> There are two questions:
>
> 1. Whether to use Number in the functions' names? (versionNumberAtLeast
> vs versionAtLeast)
>
> 2. Is it enough to add only one function (version[Number]AtLeast)?
>
> BR,
> Alexander.
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

-- 
Regards,
Konstantin



More information about the Development mailing list