[Br:1][C:2]1[CH:3]=[C:4]2[C:9](=[CH:10][C:11]=1[O:12][CH3:13])[N:8]=[C:7](Cl)[N:6]=[CH:5]2.[O:15]1[CH2:20][CH2:19][N:18]([C:21]2[CH:27]=[CH:26][C:24]([NH2:25])=[CH:23][CH:22]=2)[CH2:17][CH2:16]1>C(O)(C)C>[Br:1][C:2]1[CH:3]=[C:4]2[C:9](=[CH:10][C:11]=1[O:12][CH3:13])[N:8]=[C:7]([NH:25][C:24]1[CH:23]=[CH:22][C:21]([N:18]3[CH2:19][CH2:20][O:15][CH2:16][CH2:17]3)=[CH:27][CH:26]=1)[N:6]=[CH:5]2To a 0.12M suspension of 6-bromo-2-chloro-7-methoxyquinazoline (1.0 eq) in isopropanol was added 4-morpholinoaniline (1.0 eq). The reaction mixture was heated to 120° C. in an oil bath for 5 h. LCMS showed that reaction was complete under the condition. The reaction mixture was allowed to cool to room temperature and was filtered. The filter cake was rinsed with ethyl acetate and allowed air dry. Desired product was a brown solid as HCl salt. ES/MS m/z 415/417 (MH+).