how do i start qt creator from terminal
-
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 open@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.).
@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
-
S serkan_tr has marked this topic as solved on