The present invention relates to a heterocyclic compound, a pharmaceutical composition containing it, a process for its preparation, and its use as a fibroblast growth factor receptor (FGFR) inhibitor. The compound is a heterocyclic compound as shown in Formula I, or a pharmaceutically acceptable salt, prodrug, solvate, polymorph, isomer, or stable isotopic derivative thereof. The present invention further relates to methods of treating or preventing FGFR-mediated diseases, such as cancer, using the compounds. [Chemical 1]本発明は、複素環化合物、それを含有する医薬組成物、その製造方法、ならびに線維芽細胞増殖因子レセプタ(FGFR)阻害剤としてのその使用に関する。当該化合物は、式Iに示されるような複素環化合物、またはその薬学的に許容される塩、プロドラッグ、溶媒和物、多形体、異性体、またはそれらの安定な同位体誘導体である。本発明はさらに、当該化合物を使用して、FGFR媒介性疾患、例えば、癌など、を治療または予防する方法にも関する。【化1】