qt5base-lts/tests/auto/tools
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
..
moc Merge "Merge remote-tracking branch 'origin/5.8' into 5.9" into refs/staging/5.9 2017-03-13 19:45:20 +00:00
qdbuscpp2xml remove unnecessary references to $$QMAKE_CFLAGS_DBUS 2016-10-04 20:21:28 +00:00
qdbusxml2cpp remove unnecessary references to $$QMAKE_CFLAGS_DBUS 2016-10-04 20:21:28 +00:00
qmake make extra compiler targets depend on their respective compiler 2016-04-18 09:38:10 +00:00
qmakelib qmake: Add test functions for comparing version numbers 2017-03-20 21:56:01 +00:00
rcc Make it possible to specify the RCC data version format 2017-02-28 08:44:50 +00:00
uic Merge remote-tracking branch 'origin/5.9' into dev 2017-03-14 10:52:24 +01:00
tools.pro add test for the qmake library 2015-02-25 13:54:33 +00:00