Results 1 to 12 of 12

Thread: make--dosn't generate an .exe file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2007
    Posts
    6
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default make--dosn't generate an .exe file

    Hi there,, I hope all of you are OK and ready to answer me.

    First of all, I use Windows XP as a platform in my computer, home eddition with no any Serviece Pack, and Qt 4.3.2 with MinGW-3.4.2.

    I did a lot of examples using Qt tutorials, and I am getting better in Qt programming. Suddenly, when I decided to resume my Qt tutorials and installed Qt and its related tools such as MinGW, I found unusual message after calling "make" command

    exactly as the following:

    Qt Code:
    1. C:\Qt\t1>qmake -project
    2.  
    3. C:\Qt\t1>qmake t1.pro
    4.  
    5. C:\Qt\t1>make
    6. mingw32-make -f Makefile.Release
    7. mingw32-make[1]: Entering directory `C:/Qt/t1'
    8. g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT
    9. -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS
    10. _QMAIN -I"..\4.3.2\include\QtCore" -I"..\4.3.2\include\QtCore" -I"..\4.3.2\inclu
    11. de\QtGui" -I"..\4.3.2\include\QtGui" -I"..\4.3.2\include" -I"." -I"c:\Qt\4.3.2\i
    12. nclude\ActiveQt" -I"release" -I"." -I"..\4.3.2\mkspecs\win32-g++" -o release\mai
    13. n.o main.cpp
    14. The system cannot find the path specified.
    15. mingw32-make[1]: *** [release\main.o] Error 1
    16. mingw32-make[1]: Leaving directory `C:/Qt/t1'
    17. mingw32-make: *** [release] Error 2
    18.  
    19. C:\Qt\t1>
    To copy to clipboard, switch view to plain text mode 

    Please I am sure that I haven't made any mistake about the variables environment or the installation. I used to make the following recommanded variables environment and then it was working very well.
    Qt Code:
    1. Setting up a MinGW/Qt only environment...
    2. -- QTDIR set to C:\Qt\4.3.2
    3. -- PATH set to C:\Qt\4.3.2\bin
    4. -- Adding C:\MinGW\bin to PATH
    5. -- Adding C:\WINDOWS\System32 to PATH
    6. -- QMAKESPEC set to win32-g++
    To copy to clipboard, switch view to plain text mode 

    please help me by Allah and guide me to the straight way. I'll be thankfull for ever.
    I miss Qt widgets
    Last edited by Nora; 6th November 2007 at 22:15.

Similar Threads

  1. how can i generate .cpp file in QT 4.3.0
    By gamitkumar in forum General Programming
    Replies: 4
    Last Post: 3rd September 2007, 22:23
  2. copy and run a .exe file in another system
    By sabeesh in forum Installation and Deployment
    Replies: 3
    Last Post: 22nd August 2007, 10:05
  3. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  4. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57
  5. Replies: 1
    Last Post: 18th July 2006, 12:06

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
  •  
Qt is a trademark of The Qt Company.