我在Ubuntu上的QT Creator中开发了一个应用程序。 我需要运行一些测试并查看结果我使用console - qtcreator_process_stub窗口打开。 现在我的问题是:如何设置其初始大小? (尤其是宽度使结果更具可读性)。 每次运行我的应用程序时,通过鼠标设置宽度是非常烦人的。
I have an application being developed in QT Creator on Ubuntu. I need to run some tests and to see their results I use console — qtcreator_process_stub window is opened. And now comes my question: how to set its initial size? (especially the width to make results more readable). Setting the width by mouse each time I run my app is quite annoying.
最满意答案
我找到了一个简单的解决方
转到工具 - >选项 - >常规 - >环境:系统 - >终端。 有一个用于调用终端的命令。 在我的情况下,我需要将命令更改为:
xterm -geometry 250 -e就这样;)
I found a simple solution:
Go to Tools->Options->General->Environment: System->Terminal. There is a command used to invoke a terminal. In my case I needed to change the command to:
xterm -geometry 250 -eThat's all;)
更多推荐
发布评论