This one would work

pt.setDryBulbTemperature(list[EpwDataField::DryBulbTemperature].toStdString());