should be const reference: `QStringList buildTrainingArgs(const TrainParams &params)`. Same for other functions