Pb(Zr,Ti)O3 (PZT) layers were grown by sol–gel deposition on a InGaAs/GaAs quantum well heterostructure. Prior to PZT deposition, a thin SrTiO3 template is fabricated by molecular beam epitaxy. X-ray diffraction and transmission electron microscopy are used to analyse the structural quality of the epitaxial stack. Photoluminescence experiments allow for assessing the effect of PZT growth on the quantum well emission. Despite significant oxygen diffusion through the III–V heterostructure, conditions are found to maintain room temperature photoluminescence of the quantum wells.