[Qt-interest] No valid Qt version set. Set one in Tools/Options? in Linux
Yuvaraj R
yuvaraj at ongobiz.com
Wed Oct 21 15:59:07 CEST 2009
Hi My Gcc is at
/usr/bin/gcc
When try to run which make
Nothing i got
So what shall i have to do here
Please help me
Thanks
Yuvaraj R
On Wed, Oct 21, 2009 at 7:14 AM, John McClurkin <jwm at nei.nih.gov> wrote:
> Yuvaraj R wrote:
> > ldebian:/opt/qtsdk-2009.04# cd
> > debian:~# ls -l /opt/qtsdk-2009-04
> > ls: cannot access /opt/qtsdk-2009-04: No such file or directory
> > debian:~# ls -l /opt
> > total 4
> > drwxr-xr-x 6 root root 4096 2009-10-21 10:39 qtsdk-2009.04
> >
> > I tried to run sampl ec program it stated there is no gcc complier
> >
> > But my system is having
> >
> > debian:~/Desktop# dpkg -l '*gcc*'
> > Desired=Unknown/Install/Remove/Purge/Hold
> > |
> >
> Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
> > |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> > uppercase=bad)
> > ||/ Name Version
> Description
> >
> +++-=============================-=============================-==========================================================================
> > ii gcc-4.2-base 4.2.4-6 The GNU
> > Compiler Collection (base package)
> > ii gcc-4.3-base 4.3.2-1.1 The GNU
> > Compiler Collection (base package)
> > un gcc-4.3-locales <none> (no
> > description available)
> > ii libgcc1 1:4.3.2-1.1 GCC
> > support library
> > debian:~/Desktop# ls -l opt/qt sdk-2009-04
> >
> >
> > atlast i set the sdk path
> >
> > Now i am getting new error
> >
> > Could not find make command: make in the build environment
> >
> > Error while building project yu
> >
> > When executing build step 'Make'
> >
> > Canceled build.
> >
> >
> >
> > Thanks
> >
> >
> > Yuvaraj R
>
> My guess is that your PATH environment variable is not correct. Try the
> following commands:
> which gcc
> which make
> If the which command can't find gcc and make it will tell you all the
> directories it searched. You just need to add the paths of gcc and make
> to your PATH environment variable.
>
> >
> >
> >
> > On Wed, Oct 21, 2009 at 4:45 AM, Srdjan Todorovic
> > <todorovic.s at googlemail.com <mailto:todorovic.s at googlemail.com>> wrote:
> >
> > Hi,
> >
> > On 21/10/2009, Eirik Ulvik <eiriku at simsurgery.com
> > <mailto:eiriku at simsurgery.com>> wrote:
> > > Srdjan Todorovic skrev:
> > >> On 21/10/2009, Yuvaraj R <yuvaraj at ongobiz.com
> > <mailto:yuvaraj at ongobiz.com>> wrote:>>
> > >>
> > >>>
> > >>> 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.
> > >>>
> > >>
> > >> ls -l opt/qt sdk-2009-04
> > >> ls -l /opt/qt sdk-2009-04
> > >> ls -l /opt/
> > >>
> > >> What do these report?
> > > You should not have spaces in the Qt location.
> >
> > That's what I suspected (I've never used the SDK), but wanted
> > Yuvaraj to try it.
> > Technically you could have spaces, as long as you escape them - but
> > I'm not sure if qmake will be happy with that.
> >
> > Srdjan
> > _______________________________________________
> > Qt-interest mailing list
> > Qt-interest at trolltech.com <mailto:Qt-interest at trolltech.com>
> > http://lists.trolltech.com/mailman/listinfo/qt-interest
> >
> >
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091021/d609ad89/attachment.html
More information about the Qt-interest-old
mailing list