this invention is directed to a compound of formula i or a pharmaceutically acceptable salt thereof , wherein r 1 , r 2 , r 3 , r 4 and x are as defined herein . the compounds of formula i are useful as receptor tyrosine kinase inhibitors and can be used to treat such diseases as cancer , blood vessel proliferative disorders , fibrotic disorders , mesangial cell proliferative disorders and metabolic diseases .