With appropriate Ga content in CIG precursors, the atomic ratio of Cu/( In + Ga) can be close to 1:1; adjusting the Ga content in the precursor results in a control of Cu/(In + Ga)ratio of the CIGS films with uniformly distributed constituent elements.