Substituted 4-substituted-2- (N- (5-substituted allylamide) phenyl) amino) pyrimidine derivatives represented by formula I, and their uses and their use as EGFR inhibitors. The compounds have activity to inhibit the L858R EGFR mutant, the T790M EGFR mutant and the exon 19 deletion activating mutant and can be used to treat diseases that are mediated either alone or in part by EGFR mutant activity, And has a broad application as a medicine for preventing and treating non-small cell lung cancer. Formula I In this formula, The substituents are as defined in the specification.화학식 I로 나타내지는 4-치환된-2-(N-(5-치환된 알릴 아미드)페닐)아미노)피리미딘 유도체, 및 이의 제조 및 EGFR 억제제로서의 이의 용도. 상기 화합물은 L858R EGFR 돌연변이체, T790M EGFR 돌연변이체 및 엑손 19 결실 활성화 돌연변이체를 억제하는 활성을 갖고, EGFR 돌연변이체 활성에 의해 단독으로 또는 부분적으로 매개되는 질환을 치료하는 데 사용될 수 있고, 암, 특히 비소세포 폐암을 예방 및 치료하는 약제로서 광범위한 적용을 갖는다.화학식 I상기 식에서,치환기들은 명세서에서 정의된 바와 같다.