The reaction of furoyl chloride (I) with piperazine (II) by means of NaOH in water gives N-(2-furoyl)piperazin (III), which is reduced with H2 over Raney-Ni in methanol to afford N-(tetrahydro-2-furoyl)piperazine (IV) . Finally, this compound is condensed with 2-chloro-4-amino-6,7-dimethoxyquinazoline (V) in refluxing methoxyethanol.