qt5base-lts/qmake/library
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
..
ioutils.cpp Updated license headers 2016-01-21 18:55:18 +00:00
ioutils.h Updated license headers 2016-01-21 18:55:18 +00:00
proitems.cpp Merge remote-tracking branch 'origin/5.8' into dev 2017-01-25 20:06:06 +01:00
proitems.h qmake: introduce magic bypassNesting() scope 2016-12-13 18:56:20 +00:00
qmake_global.h Updated license headers 2016-01-21 18:55:18 +00:00
qmakebuiltins.cpp qmake: Add test functions for comparing version numbers 2017-03-20 21:56:01 +00:00
qmakeevaluator_p.h make QMAKE_DIR_SEP magic on writing 2016-12-20 10:16:32 +00:00
qmakeevaluator.cpp Merge remote-tracking branch 'origin/5.8' into 5.9 2017-02-08 15:49:18 +01:00
qmakeevaluator.h qmake: Check for QT_CONFIG(process) in qmakebuiltins 2017-03-06 14:16:08 +00:00
qmakeglobals.cpp add a bunch of complementary options to -after 2017-02-06 16:34:17 +00:00
qmakeglobals.h add a bunch of complementary options to -after 2017-02-06 16:34:17 +00:00
qmakeparser.cpp qmake: introduce magic bypassNesting() scope 2016-12-13 18:56:20 +00:00
qmakeparser.h add discard_from() function 2016-08-25 11:56:07 +00:00
qmakevfs.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-10-01 22:15:55 +02:00
qmakevfs.h Updated license headers 2016-01-21 18:55:18 +00:00