The invention relates to a quinolinetriazole compound and application thereof. The quinolinetriazole compound has the structural characteristics as shown in formula I, and can effectively treat diseases caused by respiratory viruses such as influenza.