How to change the initial qtcreator qtcreator_process_stub window size (on Ubuntu)?

I have an application being developed in QT Creator on Ubuntu. I need to run some tests, and to see their results, I use the console - the qtcreator_process_stub window opens. And now my question is: how to set its initial size? (especially width to make the results more readable). Setting the mouse width every time I launch my application is pretty annoying.

+4
source share
4 answers

I found a simple solution:

Go to Tools-> Options-> General-> Environment: System-> Terminal. To call the terminal, use the command. In my case, I needed to change the command:

xterm -geometry 250 -e 

What all:)

+6
source

Perhaps this will be useful for Windows users:

You can right-click on the console title bar (when starting your program), select properties and change the font size (or other properties) on the font tab. This will be remembered for future sessions.

To change the size of the console, the cmd.exe "/k mode con: cols=150 lines=50" console cmd.exe "/k mode con: cols=150 lines=50" launched from the command (it does not work with Qt for me, changing COMSPEC does nothing).

+1
source

In later versions of Qt Creator (2.6.2 and later), this can be changed in

  • Projects
  • Launch (at the top of the window)
  • At runtime, edit the COMSPEC field
0
source

On Linux Mint, you can do the following:

  • Open terminal
  • Edit → Profile settings → General → Use the default custom terminal size

Set a default size for the value that suits your needs.

0
source

Source: https://habr.com/ru/post/1400723/


All Articles