PDA

View Full Version : Cannot compile program- pls help



qtnewby
30th March 2010, 01:02
i have installed Qt in Windows Vista and tried to compile a Helloworld program. but when i try to buil it gives the following errors.

Running build steps for project first...
Configuration unchanged, skipping QMake step.
Could not find make command: mingw32-make.exe in the build environment
Error while building project first
When executing build step 'Make'
Canceled build.

pls can sumone tell me what i must do make the program run. thanx a lot!

Lykurg
30th March 2010, 06:51
Did you use the Qt-Console? check if PATH is configured right.

qtnewby
30th March 2010, 10:00
how do i use the Qt console? and how to i congigure path. pls teach me what i must press. thanx

squidge
30th March 2010, 11:55
My Computer -> Properties -> Advanced -> Environment variables -> PATH

toutarrive
30th March 2010, 14:56
start button ->all programs ->Qt SDK by Nokia->Qt Command Prompt

shobogenzo
30th March 2010, 17:06
@qtnewby Were you using and IDE like Visual Studio or NetBeans? Or did you try to compile on the command line?

askbapi
31st March 2010, 12:18
I had the same problem. But, I have solved it easily.

Step 1> Download the QT SDK

Step2> Uninstall QT and mingw

Step 3> Install QT SDK

STEP4 > open Command Prompt from Start Menu and type following command
cd qt
cd 2010.02.1
cd qt
configure

That it, Open the IDE and run ur application.

qtnewby
31st March 2010, 23:02
thank u so much guys! i have solved the problem.