[solved]can't run Qt via terminal directly
-
hello everyone
My platform is ubuntu 12.04 LTS
I already have installed Qt4.8.5 in default directory (/usr/local/Trolltech/Qt-4.8.6/bin)
when I type "designer" in terminal. it showed error that:
_The program 'designer' can be found in the following packages:- qt4-designer
- qt3-designer_
I rechecked PATH environment variable by typing "echo $PATH". Terminal showed that:
/usr/local/Trolltech/Qt-4.8.6/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gamesWhen I type fully as following:
/usr/local/Trolltech/Qt-4.8.5/bin/designer
then Qt's designer is lauched.
I don't understand why it is such. please show me solution
thank you very much -
Hi and welcome to devnet,
Theres's something not clear here, you are mixing 4.8.5 and 4.8.6. Are these typos ?
-
OK
thank you SGaist.
I add path to $PATH incorrectly.
it is usr/local/Trolltech/Qt-4.8.5/bin -
On a side note, 4.8.6 is out, you might want to update.
Anyway, since you have everything working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
-
ok
thank you!