v = qt_version()
v = qt_version() returns the version number of Qt at run-time as a string (for example, "5.15.2").
semver(qt_version(), '>5.15')