how do i start qt creator from terminal
-
wrote on 10 May 2023, 17:37 last edited by
Hello,
I am using Ubuntu 22.04 linux operating system. I downloaded the Qt application and I want to run qtcreator from terminal.
I am able to go to qtcreator directory and run it from terminal. or as a link, I tried to copy it into the /usr/bin directory and run it, but it gives an error because it does not see some libraries. and it won't open -
Hello,
I am using Ubuntu 22.04 linux operating system. I downloaded the Qt application and I want to run qtcreator from terminal.
I am able to go to qtcreator directory and run it from terminal. or as a link, I tried to copy it into the /usr/bin directory and run it, but it gives an error because it does not see some libraries. and it won't openwrote on 10 May 2023, 17:52 last edited by andi456 5 Oct 2023, 17:52@serkan_tr Isn't there a qtcreator package for ubuntu? If so, install that with apt get install qtcreator (or whatever the exact name of the package might be.).
-
@serkan_tr Isn't there a qtcreator package for ubuntu? If so, install that with apt get install qtcreator (or whatever the exact name of the package might be.).
wrote on 10 May 2023, 18:12 last edited by JoeCFD 5 Oct 2023, 18:15@andi456 or add the path of qtcreator to env PATH and it will work as well.
For example: qtcreator is installed under /opt/qtcreator/bin, open .bashrc
and add
export PATH=/opt/qtcreator/bin:$PATH
close file .bashrc. Open another terminal and you will be able to start it from command line.Another way to do it: add alias to .bashrc
alias qtrun='/opt/qtcreator/bin/qtcreator &'Do not copy it into the /usr/bin. But you may try to add a softlink to it with ln -s
-
@andi456 or add the path of qtcreator to env PATH and it will work as well.
For example: qtcreator is installed under /opt/qtcreator/bin, open .bashrc
and add
export PATH=/opt/qtcreator/bin:$PATH
close file .bashrc. Open another terminal and you will be able to start it from command line.Another way to do it: add alias to .bashrc
alias qtrun='/opt/qtcreator/bin/qtcreator &'Do not copy it into the /usr/bin. But you may try to add a softlink to it with ln -s
-