PDA

View Full Version : find the character width in the console



sajis997
21st July 2015, 13:01
Hello

I am developing a console application and I need to print the progress bar at the console.

To get it done I need to extract some information from the console.

Is there any way to get the character width for the console in Qt?


Thanks

anda_skoa
21st July 2015, 14:43
I don't think there is a Qt API for that, at least not in Qt itself (there could be addon libraries for this).
You probably need native system API for that.

Cheers,
_