[Interest] Looks like a bug to me.
Bill Crocker
william.crocker at analog.com
Sun Jun 4 15:26:15 CEST 2017
Hello (No, this is not spam):
For me, the following:
QString a = "XXX";
QString b = "";
QString c = "";
QString d = "1";
qDebug() << QString("A: %1%2%3%4") .arg(a) .arg(b) .arg(c) .arg(d);
qDebug() << QString("B: %4%1%2%3") .arg(b) .arg(c) .arg(d) .arg(a);
prints this:
"A: XXX1" # As expected.
"B: XXX" # Expected: XXX1.
I think the 'B:' line demonstrates a bug.
Where is the '1'?
Qt 5.7
RedHat Enterprise Linux 6.8
gcc: 4.9.3
Bill
More information about the Interest
mailing list