1. A compound having the formula: or a pharmaceutically acceptable salt thereof, wherein Q is: A is phenyl, 5- or 6-membered heteroaryl, 5- to 7-membered monocyclic cycloalkyl, or 5- to 7-membered heterocycloalkyl, each of which may optionally substituted and contain up to four R groups as substituents; V represents N or —C (R) -; W represents N or —CH—; X represents - (CHR) —O—, —C (O) - O-, Y is N or —C (R) -; Y is N or —C (R) -; Z is N, —C (R) - or —C (O) -, wherein, when Z is from fight-C (O) -, then the endocyclic double bond shown in formula (Q2) between Z and Y should be considered as a simple bond; R represents up to 4 optional ring substituents that can be the same or different from each other and independently selected from halogen, C 1 -C 1-6 alkyl, C 1 -C 1 haloalkyl, phenyl, 3 to 7 membered monocyclic cycloalkyl, -O- (C-C 1 -alkyl), -O- (C 1 -C haloalkyl) and -CN; R is -C (O) N ( R) (R) or —C (O) O— (C — C 1-6 alkyl); R is H, 4 - 6 membered heterocycloalkyl, 5 - or 6 membered heteroaryl, -N (R), halogen, -CN, - N (R), -C (O) O- (C-C1-6 alkyl) yl -N (R) -S (O) -R, wherein said 5- or 6-membered heterocycloalkyl may optionally contain a carbonyl group replacing one of its ring carbon atoms; R is selected from H, halogen, C-Calkyl, 3-7- monocyclic cycloalkyl, C-C haloalkyl, -O- (C-Ci-alkyl), -C (OH) -C (O) OR and -O- (C-Ci-haloalkyl); R, when present, is independently selected from H, halogen, Ci-Ci-alkyl, Ci-Ci-haloalkyl, -O- (Ci-Ci-alkyl), -O- (Ci-Ci-haloalkyl) and -CN, wherein said Ci-Cialkyl group may optionally be substituted with -OH or -N (R); R and R are each independently selected from hydrogen, —C (O) R, —C (O)1. Соединение, имеющее формулу:или его фармацевтически приемлемая соль,где Q представляет собой:A представляет собой фенил, 5- или 6-членный гетероарил, 5 - 7-членный моноциклический циклоалкил или 5 - 7-членный гетероциклоалкил, каждый из которых может быть необязательно замещенным и содержать в качестве заместителей до четырех Rгрупп;V пре