In this paper, we couple the dust evolution code two-pop-py with the thermochemical disk modelling code ProDiMo. We create a series of thermochemical disk models that simulate the evolution of dust over time from 0.018 to 10 Myr, including the radial drift, growth, and settling of dust grains. We examine the effects of this dust evolution on mid-infrared gas emission, focusing on the mid-infrared spectral lines of C2H2, CO2, HCN, NH3, OH, and H2O, which are readily observable with Spitzer and the upcoming E-ELT and JWST. The addition of dust evolution acts to increase line fluxes by reducing the population of small dust grains. We find that the spectral lines of all species except C2H2 respond strongly to dust evolution; line fluxes increase by more than an order of magnitude across the model series as the density of small dust grains decreases over time. The C2H2 line fluxes are extremely low because of a low abundance in the infrared line-emitting regions, even though C2H2 is commonly detected with Spitzer, suggesting that warm chemistry in the inner disk may need further investigation. Finally, we find that the CO2 flux densities increase more rapidly than the other species as the dust disk evolves. This suggests that the flux ratios of CO2 to other species may be lower in disks with less-evolved dust populations.