Results 1 to 8 of 8

Thread: Cant build Qt project

  1. #1
    Join Date
    Jul 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X

    Question Cant build Qt project

    Hey,

    I'm all new to Qt - I actually just installed it and tried to build my first project. I'm reading this tutorial, but not very far, have I gotten. I created my first project, pressed build, and got the error:
    Could not find make command: make in the build environment
    Error while building project Test (target: Desktop)
    When executing build step 'Make'

    I have googled for an explanation, and tried if I could find something in the settings that was not set, but no. So I hope you guys can help!

    And then I just wanna say hi, and I hope to talk a lot to you all in the future, in my quest for building Mac OS X apps without Objective-C.

    I just maybe also say, that I'm on Mac OS X 10.6.4.

    Sincerely,
    ChrisBuchholz

  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: Cant build Qt project

    Have you installed XCode? And make sure QtCreator can find your make command (see the project tab for defining the correct path).

  3. #3
    Join Date
    Jul 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X

    Question Re: Cant build Qt project

    I have xcode installed. The path to make is empty. How do i find it, so i can insert it?

  4. #4
    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: Cant build Qt project

    Your make is normally located at /usr/bin/

  5. #5
    Join Date
    Jul 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X

    Question Re: Cant build Qt project

    I tried to set it as /usr/bin, but still no luck. Same error as before:P

  6. #6
    Join Date
    Jul 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Cant build Qt project

    I have also tried inputting /usr/bin/qmake-4.6 in the Preferences -> Projects -> CMake -> Executables, no luck either. What am I supposed to input?

  7. #7
    Join Date
    Jul 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Cant build Qt project

    *Bring Up This Post*

  8. #8
    Join Date
    Jul 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Cant build Qt project

    It seems that different things on my system was corrubted and by uninstalling Qt and XCode and removing all Developer tools and then reinstalling, solved the problem.
    Thanks.

Similar Threads

  1. i want build My project use VLC library on QT
    By nhs_0702 in forum Qt Programming
    Replies: 1
    Last Post: 13th March 2010, 07:41
  2. Unexpected build errors in a Qt project
    By prykHetQuo in forum Qt Programming
    Replies: 2
    Last Post: 24th January 2010, 22:33
  3. Replies: 1
    Last Post: 4th December 2009, 00:34
  4. Replies: 7
    Last Post: 2nd November 2009, 20:07
  5. build project with cmake does not work
    By codebehind in forum Qt Programming
    Replies: 4
    Last Post: 18th August 2008, 13:29

Tags for this Thread

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.