Results 1 to 4 of 4

Thread: Cant build exe in windows

  1. #1
    Join Date
    Nov 2007
    Posts
    11
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Cant build exe in windows

    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

  2. #2
    Join Date
    Nov 2007
    Posts
    103
    Thanks
    71
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Cant build exe in windows

    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)

  3. The following user says thank you to tommy for this useful post:

    eric (13th November 2007)

  4. #3
    Join Date
    Nov 2007
    Posts
    11
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Unhappy Re: Cant build exe in windows

    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
    i'm noob

  5. #4
    Join Date
    Nov 2007
    Posts
    103
    Thanks
    71
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Cant build exe in windows

    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.

Similar Threads

  1. Windows XP Qt 4.3.2 Static build
    By maxpower in forum Installation and Deployment
    Replies: 9
    Last Post: 2nd November 2007, 05:49
  2. Build error on mac Platform::WaitMouseMoved
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 12th July 2007, 14:18
  3. Build static on windows without deps on mingwm10.dll
    By ucomesdag in forum Qt Programming
    Replies: 2
    Last Post: 9th July 2007, 06:46
  4. Replies: 10
    Last Post: 25th February 2007, 01:23
  5. Build windows app for Linux
    By cmaxb in forum Qt Programming
    Replies: 1
    Last Post: 19th June 2006, 20:40

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.