The dot-to-dot variation of the optical transition frequency makes it impractical to use single-photon sources based on semiconducting quantum dots in quantum computing, which requires indistinguishable photons. This can now be overcome by using coherently scattered single photons from a dot and tuning them using a microcavity.