A compound of formula (I), ** Formula ** where X is CH or N; R1 is H or NHR3, and R3 is H, an optionally substituted group selected from linear or branched C1-C3 alkyl, heterocyclyl and COR ', where R' is an optionally substituted group selected from linear or branched C1-C6 alkyl , C3-C6 carbocyclyl, aryl and heteroaryl; L1 is C≡C; Q is an optionally substituted aryl or heteroaryl selected from: ** Formula ** wherein Rc is selected from methyl and halogen, preferably fluorine; L2 is CONRa, C (RaRb) CONRa, C (RaRb) C (RaRb) CONRa, CONRaC (RaRb), OC (RaRb) CONRa, where Ra and Rb are both hydrogen; T is a substituted aryl of the formula J: ** Formula ** where Rd is halogen, straight or branched C1-C4 alkyl, C3-C6 cycloalkyl or trifluoromethyl; L3 is a direct bond, O, NH, NCH3, CH2, CH2NH, CH2NCH3 or C = O; Re is NRfRg, where Rf and Rg are each independently an optionally substituted straight or branched C1-C6 alkyl chain, wherein 1 to 3 atoms of said alkyl may be independently substituted by N or O, or Rf and Rg attached with each other with the nitrogen atom they represent a heterocyclic ring; R2 is H or an optionally substituted alkyl group selected from linear or branched C1-C6 alkyl, C3-C6 carbocyclyl, heterocyclyl, aryl, and heteroaryl; or pharmaceutically acceptable salts thereof.Un compuesto de la fórmula (I),**Fórmula** en donde X es CH o N; R1 es H o NHR3, y R3 es H, un grupo opcionalmente sustituido seleccionado de entre alquilo C1-C3 lineal o ramificado, heterociclilo y COR', en donde R' es un grupo opcionalmente sustituido seleccionado de entre alquilo C1- C6 lineal o ramificado, carbociclilo C3-C6, arilo y heteroarilo; L1 es C≡C; Q es un arilo o heteroarilo opcionalmente sustituido seleccionado de entre:**Fórmula** en donde Rc se selecciona de entre metilo y halógeno, preferiblemente flúor; L2 es CONRa, C(RaRb)CONRa, C(RaRb)C(RaRb)CONRa, CONRaC(RaRb), OC(RaRb)CONRa, en donde Ra y Rb son ambos hidrógeno; T es un arilo sustituido de la fórmula J:**Fórmula**