PDA

View Full Version : Cant build exe in windows



drinu21
10th November 2007, 18:22
hi all,

i am trying to build qt programs in windows xp, using Qdevelop but when trying to build it is giving me this output:

Update project (qmake gui.pro)...
Clean Project (make clean)...
C:\MinGW\bin\mingw32-make.exe: *** No rule to make target `clean'. Stop.
Build (make)...
C:\MinGW\bin\mingw32-make.exe: *** No targets specified and no makefile found. Stop.
---------------------- Build finished without error----------------------

all the external tools are installed and showing very good near them.

any ideas??

thanks
adrian

tommy
10th November 2007, 21:46
Hi,

Have you specified your path under Environment variables?
You'll want to set:
QTDIR to C:\Qt\4.3.2 (or whatever your version is)
QMAKESPEC to win32-g++
and adjust your path to:
PATH C:\Qt\4.3.2\bin (or change the version number)

drinu21
11th November 2007, 09:47
thanks tommy,

now is giving me another error, that is:

mingw32-make.exe[1]: *** [debug\main.o] Error 1
C:\MinGW\bin\mingw32-make.exe: *** [debug] Error 2


in linux it worked perfectly for me, but in windows :mad:
i'm noob :(

tommy
13th November 2007, 16:11
Sorry for getting back to you so late but what compiler (which version and which IDE) do you use and how exactly did you install it? Can you briefly go over the process. I had lots of problems when I was using Dev-C++ but lately I switched to a combination of minGW and Crimson and things have never worked better for me. If you are using what I'm using I can certainly help you.