Results 1 to 8 of 8

Thread: Cannot compile program- pls help

  1. #1
    Join Date
    Mar 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Cannot compile program- pls help

    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!

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Cannot compile program- pls help

    Did you use the Qt-Console? check if PATH is configured right.

  3. #3
    Join Date
    Mar 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Cannot compile program- pls help

    how do i use the Qt console? and how to i congigure path. pls teach me what i must press. thanx

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Cannot compile program- pls help

    My Computer -> Properties -> Advanced -> Environment variables -> PATH

  5. #5
    Join Date
    Mar 2008
    Location
    France
    Posts
    149
    Thanks
    2
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Cannot compile program- pls help

    start button ->all programs ->Qt SDK by Nokia->Qt Command Prompt

  6. #6
    Join Date
    Mar 2010
    Posts
    7
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Cannot compile program- pls help

    @qtnewby Were you using and IDE like Visual Studio or NetBeans? Or did you try to compile on the command line?

  7. #7
    Join Date
    Mar 2010
    Location
    Alipurduar, India
    Posts
    8
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Cannot compile program- pls help

    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.

  8. #8
    Join Date
    Mar 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Cannot compile program- pls help

    thank u so much guys! i have solved the problem.

Similar Threads

  1. program compile problem: FT_Select_Size error
    By cooper in forum Qt Programming
    Replies: 1
    Last Post: 22nd February 2010, 23:52
  2. Compile general C++ program from Qt
    By srinivasj in forum Qt Programming
    Replies: 3
    Last Post: 30th December 2008, 08:19
  3. Replies: 9
    Last Post: 8th July 2008, 23:23
  4. I can't compile my program in windows!!
    By brevleq in forum Qt Programming
    Replies: 12
    Last Post: 29th November 2007, 22:08
  5. Use VC2005 to compile Qt program (4.3.0)
    By firegun9 in forum Qt Programming
    Replies: 3
    Last Post: 8th June 2007, 16:04

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.