qt5base-lts/qmake/doc
Alexander Volkov 8a3e8856e5 qmake: Add test functions for comparing version numbers
qmake really lacks version comparing functions:
users either use ugly constructions to compare versions
by components, such as
greaterThan(QT_CLANG_MAJOR_VERSION, 3)|greaterThan(QT_CLANG_MINOR_VERSION, 4):
or even incorrectly compare versions as strings:
!lessThan(apple_clang_ver, "5.1")|!lessThan(reg_clang_ver, "3.4"):

Add test functions versionAtLeast and versionAtMost which use
QVersionNumber to compare version numbers by components.

Change-Id: I65e6b3c296d0301d544b7e38bf3d44f8d555c7fc
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2017-03-20 21:56:01 +00:00
..
images Doc: Fixed qmake manual's images and snippets directories. 2013-08-13 01:38:54 +02:00
snippets Fixed docs explaining the Frameworks usage 2017-01-06 12:42:24 +00:00
src qmake: Add test functions for comparing version numbers 2017-03-20 21:56:01 +00:00
qmake.qdocconf Doc: add navigation info to qmake Manual 2014-12-01 20:04:00 +01:00