I want to open QT Creator (terminal) in fixed size in fixed place
-
wrote on 25 Oct 2022, 14:44 last edited by
How can I proceed with this feature?
-
How can I proceed with this feature?
wrote on 25 Oct 2022, 15:37 last edited by@icebergenergy
I don't have Creator to hand. Does it have Tools - Options - General - Terminal and a command there, like it did over 10 years ago? :) -
wrote on 25 Oct 2022, 17:00 last edited by
-
How can I proceed with this feature?
@icebergenergy To make sure we understand what you want to do: do you want to open QtCreator from terminal and have it a specified position on the screen and also specify the window size?
-
I can not locate it.
Can not find it in filter as well
Please advicewrote on 26 Oct 2022, 07:46 last edited by@icebergenergy
OK, they moved it to: Tools > Options > Environment > System > Terminal.You can change the Terminal item there to something which accepts your desired coordinates.
However, I do not even see the System tab in your screenshot. I am using Qt Creator 6.02 under Ubuntu.
-
wrote on 31 Oct 2022, 00:52 last edited by
I have version 5.4.0.
Can you please summon someone who might be able to help? -
wrote on 31 Oct 2022, 11:55 last edited by
What version of Qt Creator do you have? You find the Qt Creator version from the Help menu, About Qt Creator. That is likely not the same thing a Qt library version (like 5.4.0).
In any case, find the location in your version of Qt Creator's settings that corresponds to:
Tools > Options > Environment > System > Terminal
in a recent version of Qt Creator and set the terminal command to something that takes a geometry option. For example:
/usr/bin/xterm
-geometry 80x25+20+20 -e
(In the case of xterm the geometry is in characters (80x25) and the offset in pixels (+20+20)) -
What version of Qt Creator do you have? You find the Qt Creator version from the Help menu, About Qt Creator. That is likely not the same thing a Qt library version (like 5.4.0).
In any case, find the location in your version of Qt Creator's settings that corresponds to:
Tools > Options > Environment > System > Terminal
in a recent version of Qt Creator and set the terminal command to something that takes a geometry option. For example:
/usr/bin/xterm
-geometry 80x25+20+20 -e
(In the case of xterm the geometry is in characters (80x25) and the offset in pixels (+20+20))wrote on 31 Oct 2022, 12:39 last edited by JonB@ChrisW67 said in I want to open QT Creator (terminal) in fixed size in fixed place:
Tools > Options > Environment > System > Terminal
That is what I said, but to be fair the screenshot the OP has pasted shows no sign where this would be! His only has a tab for Tools > Options > Environment > General, that has a System group box on it, but nothing for a Terminal entry on that. I thought that had been present somewhere in Creator since year dot, but now not sure it is for his...?
-
wrote on 8 Nov 2022, 22:34 last edited by
@ChrisW67 said in I want to open QT Creator (terminal) in fixed size in fixed place:
What version of Qt Creator do you have? You find the Qt Creator version from the Help menu, About Qt Creator. That is likely not the same thing a Qt library version (like 5.4.0).
In any case, find the location in your version of Qt Creator's settings that corresponds to:
Tools > Options > Environment > System > Terminal
in a recent version of Qt Creator and set the terminal command to something that takes a geometry option. For example:
/usr/bin/xterm
-geometry 80x25+20+20 -e
(In the case of xterm the geometry is in characters (80x25) and the offset in pixels (+20+20))Tried this one, but failed
Using Windows 10C:\Qt\Qt5.4.0\5.4\mingw491_32>/usr/bin/xterm -geometry 80x25+20+20 -e
The system cannot find the path specified. -
@ChrisW67 said in I want to open QT Creator (terminal) in fixed size in fixed place:
What version of Qt Creator do you have? You find the Qt Creator version from the Help menu, About Qt Creator. That is likely not the same thing a Qt library version (like 5.4.0).
In any case, find the location in your version of Qt Creator's settings that corresponds to:
Tools > Options > Environment > System > Terminal
in a recent version of Qt Creator and set the terminal command to something that takes a geometry option. For example:
/usr/bin/xterm
-geometry 80x25+20+20 -e
(In the case of xterm the geometry is in characters (80x25) and the offset in pixels (+20+20))Tried this one, but failed
Using Windows 10C:\Qt\Qt5.4.0\5.4\mingw491_32>/usr/bin/xterm -geometry 80x25+20+20 -e
The system cannot find the path specified.wrote on 8 Nov 2022, 23:08 last edited by JonB 11 Aug 2022, 23:08@icebergenergy said in I want to open QT Creator (terminal) in fixed size in fixed place:
Using Windows 10
C:\Qt\Qt5.4.0\5.4\mingw491_32>/usr/bin/xterm -geometry 80x25+20+20 -e
Why are you trying to use Linux xterm or indeed any Linux command under Windows?
Why are you using a Qt Creator from 2014?
-
@ChrisW67 said in I want to open QT Creator (terminal) in fixed size in fixed place:
What version of Qt Creator do you have? You find the Qt Creator version from the Help menu, About Qt Creator. That is likely not the same thing a Qt library version (like 5.4.0).
In any case, find the location in your version of Qt Creator's settings that corresponds to:
Tools > Options > Environment > System > Terminal
in a recent version of Qt Creator and set the terminal command to something that takes a geometry option. For example:
/usr/bin/xterm
-geometry 80x25+20+20 -e
(In the case of xterm the geometry is in characters (80x25) and the offset in pixels (+20+20))Tried this one, but failed
Using Windows 10C:\Qt\Qt5.4.0\5.4\mingw491_32>/usr/bin/xterm -geometry 80x25+20+20 -e
The system cannot find the path specified.wrote on 9 Nov 2022, 02:08 last edited by@icebergenergy said in I want to open QT Creator (terminal) in fixed size in fixed place:
Using Windows 10
That little tidbit of information explains a lot. Fairly sure there are no terminal options on Windows; you get the Windows command prompt.
There are no sizing and positioning command line options that you can pass to the
cmd
command.
You can set a global default size and position:
How to Set Command Prompt Default Window Size and Position