Monodemethylation of 6,7-dimethoxyquinazolin-4(3H)-one (I) in refluxing methanesulfonic acid in the presence of L-methionine provides 6-hydroxy-7-methoxyquinazolin-4(3H)-one (II), which is acetylated with acetic anhydride and pyridine at 100 C to give the acetate (III). Treatment of compound (III) with refluxing SOCl2 and a catalytic amount of DMF yields chloride (IV), which by condensation with 3-chloro-4-fluoroaniline (V) in boiling isopropanol affords the anilinoquinazoline (VI). Hydrolysis of the acetate group of (VI) by treatment with NH4OH in refluxing MeOH gives the 6-hydroxyquinazoline derivative (VII), which finally is alkylated with 3-(4-morpholinyl)-propyl chloride (VIII) or 3-(4-morpholinyl)propyl bromide (IX).