Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run Qtcreator from terminal in Ubuntu?

Tags:

linux

qt

Hi I have QtInstalled with the official qt installer (I haven't used the package with the name "qtcreator").

I need to run QtCreator from terminal but I can't locate the executable.

I'm using Ubuntu 16.04.

like image 558
C.Xammar Avatar asked May 22 '17 13:05

C.Xammar


2 Answers

Probably you can find the executable in opt directory the location will be as this /opt/Qt/Tools/QtCreator/bin and you can run it through terminal as ./qtcreator

like image 185
newbie Avatar answered Sep 22 '22 07:09

newbie


Latest QtCreator should by default be installed in

 ${HOME}/Qt/Tools/QtCreator/bin/

And you have two start-up options, the executable qtcreator or the shell script qtcreator.sh

To run the executable, type

~/Qt/Tools/QtCreator/bin/qtcreator

To run the shell script, type

~/Qt/Tools/QtCreator/bin/qtcreator.sh

Whic one to use: From the top portion of qtcreator.sh, it states that if you have library name conflicts (such as having same library names used by qtcreator with your own LD_LIBRARY_PATH), you may want to start with the shell script, rather than the bare executable.

like image 26
Robin Hsu Avatar answered Sep 23 '22 07:09

Robin Hsu