[QGIS-Developer] bigger precision on qDebug() stream ?

Sandro Santilli strk at kbt.io
Tue Dec 19 05:10:12 PST 2017

I tried getting more precision for printing doubles in a qDebug() with
std::setprecision (which works on iostream) but failed:

  error: no match for ‘operator<<’ (operand types are ‘QDebug’ and ‘std::_Setprecision’)

This double-double comparison is driving me nuts so would love to read
more about the actual difference in those to QgsIntervals:


How do you raise precision in a qDebug ?


More information about the QGIS-Developer mailing list