Compounds of formula I in free or salt or solvate form, wherein X, T1, T3 and T4 have the meanings as indicated in the specification, are useful for treating diseases mediated by the ALK-5 and/or ALK-4 receptor. Pharmaceutical compositions that contain the compounds and processes for preparing the compounds are also described.