Command prompt font is too small and the size is to small ?



  • How can I enlarge the size of command prompt's box and text size, permenatly. When I run program in Qt I get very small command prompt's box and text size. If I right click cmd and go to proparties and change the font size the settings don't stay permanatly. The next time I run program in Qt I have small cmd box and font again.

    http://i60.tinypic.com/vsdet5.png



  • You'll have to edit some registry keys using QSettings.

    Simply point QSettings to this path and modify the keys that specify a font type: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Console\TrueTypeFont

    (not sure what the names of the keys are, you'll have to open up regedit and take a look - I found the above after a quick Google search)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.