Photoluminescence in ͑GaIn͒͑NAs͒ quantum wells designed for laser emission was studied experimentally and theoretically. The observed temperature dependences of the luminescence Stokes shift and of the spectral linewidth evidence the essential role of disorder in the dynamics of the recombining excitations. The spatial and energy disorders can cause a localization of photocreated excitations supposedly in the form of excitons. Theoretical study of the exciton dynamics is performed via kinetic Monte Carlo simulations of exciton hopping and recombination in the manifold of localized states. Direct comparison between experimental spectra and theoretical calculations provides quantitative information on the energy scale of the potential fluctuations in ͑GaIn͒͑NAs͒ quantum wells. The results enable one to quantify the impact of annealing on the concentration of localized states and/or on the localization length of excitons in ͑GaIn͒͑NAs͒ quantum wells.