PDA

View Full Version : problem Qt installing in Linux



addu
21st October 2009, 07:45
Hi All

I installed Qt in liux platfrom

When i tried to run sample application,i got error message like

No valid Qt version set. Set one in Tools/Options?


By default Qt is installed in opt/qt sdk-2009-04

I had gone through the tools /options/Qt versions . Then i set the path of Qt installation.. But it is showing opt/qt sdk-2009-04 is not a valid directory.

Please help me

Thanks

Yuvaraj R

spirit
21st October 2009, 08:00
try to add path to Qt in PATH variable.

addu
21st October 2009, 08:07
I have added

see my path variables


:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;opt/qtsdk-2009-04/bin;


In version control I am getting on more error


unable to launch p4 " unkown error"


Do i need to install x11 ?

Thanks

Yuvaraj R

spirit
21st October 2009, 08:13
is this path correct opt/qtsdk-2009-04/bin;?
I think it should be /opt/qtsdk-2009-04/bin;
if you're trying to run GUI app then you need X server.

addu
21st October 2009, 08:23
I changed the path variable .

Still i amgetting same error. Can you provide me a download link for x server

Thanks
Yuvaraj R

spirit
21st October 2009, 08:28
it should be on Linux distribution disk, you should install one of several desktop environment, for example KDE or GNOME.

addu
21st October 2009, 08:45
Hi All

I have set the qt sdk path correctly

Now i am getting new error


Could not find make command: make in the build environment

Thanks

Yuvaraj R

spirit
21st October 2009, 08:46
:) did you install gcc?

addu
21st October 2009, 11:06
No

I didn't install

But Qt sdk i having gcc compiler , am i right.. Then why do we againg install the gcc compiler

Thanks

Yuvaraj R

spirit
21st October 2009, 11:25
actually, Qt SDK for Linux doesn't contain any compiler.

pdoria
21st October 2009, 14:02
What distro are you using?

if you're using a YUM based distro this should sort you out:

(as root)
yum install gcc*

BR,
Pedro Doria Meunier