int num1 = 2,num2 = 3;QString str = tr("There are %1 apples and %2 oranges on the desk .").arg(num1).arg(num2);