[N:1]1([C:7]2[N:16]=[C:15]([NH2:17])[C:14]3[C:9](=[CH:10][C:11]([O:20][CH3:21])=[C:12]([O:18][CH3:19])[CH:13]=3)[N:8]=2)[CH2:6][CH2:5][NH:4][CH2:3][CH2:2]1.[CH3:22][C:23]1([CH3:31])[CH2:30][C:28](=O)[CH2:27][C:25](=[O:26])[CH2:24]1.C1(C)C=CC=CC=1>O>[NH2:17][C:15]1[C:14]2[C:9](=[CH:10][C:11]([O:20][CH3:21])=[C:12]([O:18][CH3:19])[CH:13]=2)[N:8]=[C:7]([N:1]2[CH2:6][CH2:5][N:4]([C:28]3[CH2:30][C:23]([CH3:31])([CH3:22])[CH2:24][C:25](=[O:26])[CH:27]=3)[CH2:3][CH2:2]2)[N:16]=1A mixture of 2.9 g (0.01 mol) of 2-piperazino-4-amino-6,7-dimethoxyquinazoline, 1.4 g (0.01 mol) of dimedone and 20 ml of toluene is heated at the boiling point under reflux for 4 hours, using a water separator. After cooling the solution, the reaction product precipitates. It is washed with petroleum ether and recrystallised from 220 ml of acetonitrile. 2.6 g of melting point 185°-187° C. are obtained.