I'm just trying to print a number using qDebug
as follows:
qDebug() << QString::number(03001);
But the result is:
"1537"
If I try to print without the first zero:
qDebug() << QString::number(3001);
The result is correct:
"3001"
Why does it happen?
I'm using Qt 5.3.