A compound of formula or an N-oxide thereof, or a pharmaceutically acceptable salt thereof, wherein -X-Q- represents -O-, -O-C -, -O-C(CH-CN)-, -S-, -SO-, -SO 2 -; or -N(R g)-, - N(R f)-CO-, -N(R f)-SO 2 -, -O-CH 2 -, -CH 2 -S-, -CH 2 -SO-, -CH 2 -SO 2 -, -N(R g)-CH 2 -, -N(R f)-C -, -N=S (CH 3)-, -O-C(=CH 2)- or -S(=N-CN)-, any of which groups may be optionally substituted by one or more substituents selected from halogen, (C 1-6)alkyl, carboxy, trifluoromethyl, (C 2-6)alkylcarbonyl, (C 2-6)alkoxycarbonyl, and hydroxy(C 1-6)alkyl; Z represents methylene; E represents a fused heteroaromatic ring system selected from the groups of formula (Ea) and (Eb), wherein the asterisk (*) represents the site of attachment of E to the remainder of the molecule; R 1 represents halogen or cyano; or aryl, heteroaryl, (C 3-7)cycloalkyl-heteroaryl, (C 3-7)heterocycloalkyl-heteroaryl, (C 4-9)heterobicycloalkyl-heteroaryl, (C 3-7)heterocycloalkyl, (C 3-7)heterocycloalkenyl, or (C 3-7)heterocycloalkenyl-aryl, any of which groups may be optionally substituted by one, two or three substituents selected from halogen, cyano, cyano(C 1-6)alkyl, C 1-6 alkyl, difluoromethyl, trifluoromethyl, hydroxy, (hydroxy)(C 1-6)alkyl, amino, (amino)(C 1-6) alkyl, C 1-6 alkoxy, (C 1-6) alkoxy(C 1-6)alkyl, C 2-6 alkylcarbonyl, C 2-6 alkoxycarbonyl, (C 2-6) alkoxycarbonyl-amino-C 1-6 alkyl, phosphate(C 1-6)alkyl, C 1-6 alkylthio, C 1-6 alkylsulphonyl, oxo, (C 1-6)alkylsulphoximinyl, (C 1-6)alkylsulphinyl-amino-, di(C 1-6)alkylamino (C 1-6)alkyl, (C 2-6)alkylcarbonylamino(C 1-6)alkyl, di(C 1-6)alkenylamino (C 1-6)alkyl, (C 2-6)alkylcarbonylamino(C 1-6)alkyl, C 1-6 alkylsulphonyl-amino-C 1-6 alkyl, tetrahydrofuranyl, sulphate(C 1-6)alkyl, and carboxy-(Ci -6)alkyl-carbonyloxy-(C 1-6)alkyl; R 2 represents hydrogen or halogen; R 3 represents hydrogen or trifluoromethyl; R 4 represents hydrogen or trifluoromethyl; R 5 represents halogen, -OR a, difluoromethoxy or trifluoromethoxy; R 6 represents hydrogen, halogen or trifluoromethyl; R 7 represents hydrogen or trifluoromethyl; R 8 represents hydrogen, halogen or trifluoromethyl; R 12 represents hydrogen or C 1-6 alkyl; R a represents C 1-6 alkyl; R f represents hydrogen; or C 1-6 alkyl, which group may be optionally substituted by one or more substituents selected from trifluoromethyl, carboxy and hydroxy; and R g represents hydrogen; or C 1-6 alkyl, -CO-(C 1-6)alkyl, -SO 2 -(C 1-6)alkyl, -CO-(C 3-7)heterocycloalkyl, -SO 2 -(C 3-7)cycloalkyl, - SO 2 -aryl, -SO 2 -heteroaryl, heteroaryl or (C 2-6)alkoxycarbonyl, any of which groups may be optionally substituted by one or more substituents selected from halogen, C 1-6 alkyl, carboxy, C 1-6 alkoxycarbonyl, trifluoromethyl, C 4-9 heterobicycloalkyl, (C 1-6 alkyl)sulphonyl, tri(C 1-6 alkyl)silyloxy, hydroxy and (C 1-6)alkoxy. -X-Q- represents -O-, -O-C -, -O-C(CH-CN)-, -S-, -SO-, -SO 2 -; or -N(R g)-, - N(R f)-CO-, -N(R f)-SO 2 -, -O-CH 2 -, -CH 2 -S-, -CH 2 -SO-, -CH 2 -SO 2 -, -N(R g)-CH 2 -, -N(R f)-C -, -N=S (CH 3)-, -O-C(=CH 2)- or -S(=N-CN)-, any of which groups may be optionally substituted by one or more substituents selected from halogen, (C 1-6)alkyl, carboxy, trifluoromethyl, (C 2-6)alkylcarbonyl, (C 2-6)alkoxycarbonyl, and hydroxy(C 1-6)alkyl; Z represents methylene; E represents a fused heteroaromatic ring system selected from the groups of formula (Ea) and (Eb), wherein the asterisk (*) represents the site of attachment of E to the remainder of the molecule; R 1 represents halogen or cyano; or aryl, heteroaryl, (C 3-7)cycloalkyl-heteroaryl, (C 3-7)heterocycloalkyl-heteroaryl, (C 4-9)heterobicycloalkyl-heteroaryl, (C 3-7)heterocycloalkyl, (C 3-7)heterocycloalkenyl, or (C 3-7)heterocycloalkenyl-aryl, any of which groups may be optionally substituted by one, two or three substituents selected from halogen, cyano, cyano(C 1-6)alkyl, C 1-6 alkyl, difluoromethyl, trifluoromethyl, hydroxy, (hydroxy)(C 1-6)alkyl, amino, (amino)(C 1-6) alkyl, C 1-6 alkoxy, (C 1-6) alkoxy(C 1-6)alkyl, C 2-6 alkylcarbonyl, C 2-6 alkoxycarbonyl, (C 2-6) alkoxycarbonyl-amino-C 1-6 alkyl, phosphate(C 1-6)alkyl, C 1-6 alkylthio, C 1-6 alkylsulphonyl, oxo, (C 1-6)alkylsulphoximinyl, (C 1-6)alkylsulphinyl-amino-, di(C 1-6)alkylamino (C 1-6)alkyl, (C 2-6)alkylcarbonylamino(C 1-6)alkyl, di(C 1-6)alkenylamino (C 1-6)alkyl, (C 2-6)alkylcarbonylamino(C 1-6)alkyl, C 1-6 alkylsulphonyl-amino-C 1-6 alkyl, tetrahydrofuranyl, sulphate(C 1-6)alkyl, and carboxy-(Ci -6)alkyl-carbonyloxy-(C 1-6)alkyl; R 2 represents hydrogen or halogen; R 3 represents hydrogen or trifluoromethyl; R 4 represents hydrogen or trifluoromethyl; R 5 represents halogen, -OR a, difluoromethoxy or trifluoromethoxy; R 6 represents hydrogen, halogen or trifluoromethyl; R 7 represents hydrogen or trifluoromethyl; R 8 represents hydrogen, halogen or trifluoromethyl; R 12 represents hydrogen or C 1-6 alkyl; R a represents C 1-6 alkyl; R f represents hydrogen; or C 1-6 alkyl, which group may be optionally substituted by one or more substituents selected from trifluoromethyl, carboxy and hydroxy; and R g represents hydrogen; or C 1-6 alkyl, -CO-(C 1-6)alkyl, -SO 2 -(C 1-6)alkyl, -CO-(C 3-7)heterocycloalkyl, -SO 2 -(C 3-7)cycloalkyl, - SO 2 -aryl, -SO 2 -heteroaryl, heteroaryl or (C 2-6)alkoxycarbonyl, any of which groups may be optionally substituted by one or more substituents selected from halogen, C 1-6 alkyl, carboxy, C 1-6 alkoxycarbonyl, trifluoromethyl, C 4-9 heterobicycloalkyl, (C 1-6 alkyl)sulphonyl, tri(C 1-6 alkyl)silyloxy, hydroxy and (C 1-6)alkoxy.