An analysis of the reaction K+p → Q+p from 2.5 to 12.7 GeV/c