Hello @all,

guess, what I get as output if I try to run this simple code?!
Qt Code:
  1. QString test_str = QString("20%1").arg(5, 2, 10, '0');
  2. qDebug("%s", qPrintable(test_str));
To copy to clipboard, switch view to plain text mode 

if I use MingW4.8.3 and Qt5.3 on win7 64bit, then I got compiler warnings:
Warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [enabled by default]
QString test_str = QString("20%1").arg(5, 2, 10, '0');
^

But if I modify it to:
Qt Code:
  1. QString test_str = QString("20%1").arg(5, 2, 10, QChar('0');
To copy to clipboard, switch view to plain text mode 
then it works fine.
I am trying to understand, and your help is welcome!

Best Regards!