The invention discloses a kind of formula (I) condensed-bicyclic defined herein or polycyclic compounds. The present invention also discloses a kind of method and a kind of method with these compound treating cancers for inhibiting EGFR kinase activity.本發明揭露一種本文定義的式(I)稠合雙環或多環化合物。本發明也揭露一種抑制EGFR激酶活性的方法,以及一種以這些化合物治療癌症的方法。