Grain yield and physiological traits of rice lines with the drought yield QTL qDTY12.1 showed different responses to drought and soil characteristics in upland environments.