My distro has 5.15.3_20220318_e507d3e5
in it, QT_VERSION is defined as ((5<<16)|(15<<8)|(3)), and, I belive, is compared to 0x50000 as a string, and since "(" the left parenthesis is sorted after "0", it is considered greater than 0x50000 and 0x60000.