diff --git a/src/config.pri b/src/config.pri index 9d1818ff4..bc1c4be33 100644 --- a/src/config.pri +++ b/src/config.pri @@ -24,25 +24,25 @@ isEmpty(VERSION) { } isEmpty(VERSION): error(VERSION is empty) +} - ver_list = $$split(VERSION, .) +ver_list = $$split(VERSION, .) - isEmpty(VER_MAJ) { - VER_MAJ = $$first(ver_list) - } +isEmpty(VER_MAJ) { + VER_MAJ = $$first(ver_list) +} - isEmpty(VER_MIN) { - VER_MIN = $$member(ver_list, 1, 1) - isEmpty(VER_MIN):VER_MIN = 0 - } +isEmpty(VER_MIN) { + VER_MIN = $$member(ver_list, 1, 1) + isEmpty(VER_MIN):VER_MIN = 0 +} - isEmpty(VER_PAT) { - VER_PAT = $$member(ver_list, 2, 2) - isEmpty(VER_PAT):VER_PAT = 0 - } +isEmpty(VER_PAT) { + VER_PAT = $$member(ver_list, 2, 2) + isEmpty(VER_PAT):VER_PAT = 0 +} - isEmpty(VER_BUI) { - VER_BUI = $$member(ver_list, 3, 3) - isEmpty(VER_BUI):VER_BUI = 0 - } +isEmpty(VER_BUI) { + VER_BUI = $$member(ver_list, 3, 3) + isEmpty(VER_BUI):VER_BUI = 0 }