Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, December 2005
/bin/sh.exe: C:Qt4.0.1binmoc.exe: command not found


Message 1 in thread

Hello NG,

I am using Eclipse and CDT Plugin (also mingw and msys) to develop QT 4.0.1 
applications.

In order to avoid the error statement written above, I have to modify my 
windows system path, that the MSYS environment (especially the sh.exe) does 
not lie any longer on the system path.

But now, after deleting the path to my MSYS/bin directory,  I cannot build 
another managed make project within Eclipse/CDT:
the make command cannot be found due to the missing path to sh.exe.

Has anyone of you found a solution to build both managed make and the QT 
standard make projects?

Thanks in advance.

Kind regards. Michael.






--
 [ signature omitted ] 

Message 2 in thread

Hi,

> Has anyone of you found a solution to build both managed make and the QT 

> standard make projects?

For the managed Projects you can expand the Environment in the 
Project-Properties within Eclipse. Right-Click on the Project, choose 
"Properties", then choose "C/C++ Build" and click on the 
"Environment"-Tab. There you can expand the "Path" as needed :-)

Good luck,

Malte

--
 [ signature omitted ] 

Message 3 in thread

Hello,

> For the managed Projects you can expand the Environment in the
> Project-Properties within Eclipse. Right-Click on the Project, choose
> "Properties", then choose "C/C++ Build" and click on the
> "Environment"-Tab. There you can expand the "Path" as needed :-)

I tried this a couple of days ago, but without success.

I expand the project path to 'msys\1.0\bin' within Eclipse.

After starting the rebuild process, Eclipse posts the following message:

Build error
(CreateProcess: make -k clean all error=2)

Stop. Does anyone of you has an idea solving the problem?

Ciao, Michael 


--
 [ signature omitted ] 

Message 4 in thread

Hi again,

I have just found the solution by myself:

After expanding the project Path like Malte Witt told us,

Right-Click on the Project, choose
"Properties", then choose "C/C++ Build", then "Build Settings" tab:

Build Command: use 'mingw32-make -k' instead of 'make -k'

Now it works! Thanks very much and Ciao, Michael 


--
 [ signature omitted ] 

Message 5 in thread

"Michael" <felber.michael@xxxxxxx> wrote in message 
news:do9mbp$k4m$1@xxxxxxxxxxxxxxxxxxxxx
> Hello NG,
>
> I am using Eclipse and CDT Plugin (also mingw and msys) to develop QT 
> 4.0.1 applications.
>
> In order to avoid the error statement written above, I have to modify my 
> windows system path, that the MSYS environment (especially the sh.exe) 
> does not lie any longer on the system path.
>
> But now, after deleting the path to my MSYS/bin directory,  I cannot 
> build another managed make project within Eclipse/CDT:
> the make command cannot be found due to the missing path to sh.exe.
>
> Has anyone of you found a solution to build both managed make and the QT 
> standard make projects?
>
> Thanks in advance.
>
> Kind regards. Michael.

Remove sh from the PATH before trying to build anything with MinGW. 
mingw32-make behaves differently if sh.exe is in the PATH.

Volker


--
 [ signature omitted ] 

Message 6 in thread

Note sure of the eclipse issue, but try to set the moc path using
forward slashes.  Ratehr then c:\Qt4.0.1 .... use c:/Qt4.0.1

Rather then mucking with your system path.

Also, I DevEnv on windows, and make on linux.  It's a rather complex app
(~15 libraries with build order dependencies (due to moc), 10+ external
libs, yex, yacc thrown in for good luck, and licensing software that
requires a unique link stage) and I got it all to work with qmake.  

Qmake is very easy to extend, and I am sure others would help in the
creation of an eclipse project generator for qmake

Scott

-->-----Original Message-----
-->From: Michael [mailto:felber.michael@xxxxxxx]
-->Sent: Tuesday, December 20, 2005 11:39 AM
-->To: qt-interest@xxxxxxxxxxxxx
-->Subject: /bin/sh.exe: C:Qt4.0.1binmoc.exe: command not found
-->
-->Hello NG,
-->
-->I am using Eclipse and CDT Plugin (also mingw and msys) to develop QT
-->4.0.1
-->applications.
-->
-->In order to avoid the error statement written above, I have to modify
my
-->windows system path, that the MSYS environment (especially the
sh.exe)
-->does
-->not lie any longer on the system path.
-->
-->But now, after deleting the path to my MSYS/bin directory,  I cannot
-->build
-->another managed make project within Eclipse/CDT:
-->the make command cannot be found due to the missing path to sh.exe.
-->
-->Has anyone of you found a solution to build both managed make and the
QT
-->standard make projects?
-->
-->Thanks in advance.
-->
-->Kind regards. Michael.
-->
-->
-->
-->
-->
-->
-->--
-->To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
with
-->"unsubscribe" in the subject or the body.
-->List archive and information: http://lists.trolltech.com/qt-interest/
-->


--
 [ signature omitted ]