[Development] Comparison of version numbers in qmake project files

Alexander Volkov a.volkov at rusbitech.ru
Tue Mar 7 11:57:03 CET 2017


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) {
     ...
}

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.



More information about the Development mailing list