Quinolinyl-substituted five-membered heterocyclic compounds containing 1,3,4-oxadiazole, 1,3-dioxoisoindole, 1,2,4-triazole, and 1,3,4-thiadiazole rings and Schiff bases were synthesized starting from 2-(4-hydroxy-2-methylquinolin-3-yl)acetohydrazide.