The present invention relates to 4-(substituted anilino)-quinazoline derivatives as tyrosine kinase inhibitors. Specifically, compounds of formula I, or pharmaceutically acceptable salts or solvates thereof are disclosed, in which each substitutent in formula I is defined in the description. Preparation method of the compounds of formula I, pharmaceutical compositons and pharmaceutical uses thereof are also disclosed. The compounds of formula I are effective tyrosine kinase inhibitors.