Hi friends!
Usually I use qDebug to print variables values, but I guess it must be an easy way. I use 2 lines, QString and toAscii method. Is there any shorter way to do this?
QString m=QString("x %1, y %2, w %3, h %4 ").arg(selection_center_x).arg(selection_center_y) .arg(selection_width).arg(selection_height);
qDebug(m.toAscii());
Thanks.
Bookmarks