In the title compound, C28H22N4O4, the molecule lies on a crystallographic twofold axis. The quinoline ring is essentially planar (give max or rms deviation 0.0186 Å), and the dihedral angle between the quinoline ring and the central benzene ring is 19.1 (4)°. Intramolecular N—H⋯(N,O) and C—H⋯O hydrogen bonds contribute to the formation of the roughly planar configuration. The crystal packing is stabilized by intermolecular C—H⋯O hydrogen bonds, and weak π–π interactions between the pyridine rings and central benzene rings of the neighboring molecules [centroid–centroid separation = 3.9009 (6) Å].