View Full Version : Cant build exe in windows

10th November 2007, 19: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??


10th November 2007, 22:46

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)

11th November 2007, 10: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 :(

13th November 2007, 17: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.