PDA

View Full Version : Error spawning c1.exe?



vishal.chauhan
12th March 2008, 05:53
Hi All,

I have just started to work with qt on windows.
Earlier I was working on MAc.

I have the commercial version of Qt 4.3.4 and the Qt is installed successfully even all the qmake command is running correctly.

But when I compile my simple hello world program from VC6 then it is giving the error
Error spawning c1.exe.

So plz help me what this error is all about.

Thanks.

merlvingian
12th March 2008, 06:05
Are you sure its not cl.exe instead of c1.exe? Sounds like it is a path issue to the exe builder. My best guess would be to make sure all you path information is correct.

vishal.chauhan
12th March 2008, 06:25
yes it is cl.exe not c1.exe.

So how should I check the paths.

jpn
12th March 2008, 07:10
How did you install Qt? What was the exact name of the package you installed and what steps did you take?

ChristianEhrlicher
12th March 2008, 07:16
Your environment is not set up correctly. Make sure to call vsvars32.bat to set it up. Or use Visual Studio Command prompt (don't know if this is already available in this ancient compiler)

vishal.chauhan
12th March 2008, 09:35
Thanks for reply.
But now there is a strange situation if I simply click the .dsw file and then open and run the application then I am getting the same error but if I launch the Visual Studio from the bat file from the program menu then there is no error.
The application just run correctly.