The invention relates to a pyrrole-substituted indolinone derivative and a preparation method thereof, a composition including the derivative, and application of the derivative. The pyrrole-substituted indolinone derivative has a structure as shown in a general formula (I) which is described in the specification. The invention also relates to application of the pyrrole-substituted indolinone derivative in treatment of receptor tyrosine kinase mediated diseases and a pharmaceutical composition containing the derivative and used for treating diseases related to tumors.