or simply do something like:
test.append("house");
QString test;
test.append( QString(%1).arg(2) );
test.append("house");
test.append( QString(%1).arg(4) );
To copy to clipboard, switch view to plain text mode
that could also be:
int a;
int b;
a = 2;
b = 4;
test.append("house");
int a;
int b;
a = 2;
b = 4;
QString test;
test.append( QString(%1).arg(a) );
test.append("house");
test.append( QString(%1).arg(b) );
To copy to clipboard, switch view to plain text mode
Bookmarks