VERSIONS = $$split(VERSION, ".")
VERSION_MAJ = $$member(VERSIONS, 0)
VERSION_MIN = $$member(VERSIONS, 1)
lessThan(VERSION_MAJ, 1) | lessThan(VERSION_MIN, 8) {
error(Project requires version 1.8 or newer but $$VERSION was detected.)
}
VERSIONS = $$split(VERSION, ".")
VERSION_MAJ = $$member(VERSIONS, 0)
VERSION_MIN = $$member(VERSIONS, 1)
lessThan(VERSION_MAJ, 1) | lessThan(VERSION_MIN, 8) {
error(Project requires version 1.8 or newer but $$VERSION was detected.)
}
To copy to clipboard, switch view to plain text mode
Bookmarks