Results 1 to 8 of 8

Thread: qmake Problem on Mac

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: qmake Problem on Mac

    SDK is located in the folder /Developer/SDKs and commands like make etc are located in /Developer/usr/bin, but no qmake there.
    Edit: Indeed, qmake is in /Users/name/QtSDK/Desktop/Qt/474/gcc/bin/ but when I try to build and run a project in Qt creator, I get: "Error while building project (target: Desktop) When executing build step 'qmake'. And it gives me -qmake not found- when I try from the terminal.
    Last edited by xb; 11th January 2012 at 15:24.

  2. #2
    Join Date
    Jun 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: qmake Problem on Mac

    I had the same problem on Mac OSX Lion,
    and I solved it by adding this line of code on .bash_profile:

    PATH=$PATH:/Users/marco/QtSDK/Desktop/Qt/4.8.1/gcc/bin

    Obviously “/Users/marco” is my home folder.
    The .bash_profile file is located in your home folder and the path you have to add is the path for qmake.

  3. #3
    Join Date
    Sep 2011
    Posts
    26
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1

    Default Re: qmake Problem on Mac

    Quote Originally Posted by marcopavan View Post
    I had the same problem on Mac OSX Lion,
    and I solved it by adding this line of code on .bash_profile:

    PATH=$PATH:/Users/marco/QtSDK/Desktop/Qt/4.8.1/gcc/bin

    Obviously “/Users/marco” is my home folder.
    The .bash_profile file is located in your home folder and the path you have to add is the path for qmake.



    Or use a symnlinks "ls -n /usr/bin /Users/marco/QtSDK/Desktop/Qt/4.8.1/gcc/bin" =)

Similar Threads

  1. QMake problem
    By adhit in forum Qt Programming
    Replies: 5
    Last Post: 13th April 2009, 11:53
  2. A problem about qmake in Qt 4.4
    By alban_gt in forum Qt Programming
    Replies: 3
    Last Post: 24th July 2008, 17:19
  3. Problem with QMake/UIC
    By hardgeus in forum Qt Programming
    Replies: 11
    Last Post: 31st March 2008, 18:51
  4. qmake foo.pro problem
    By impeteperry in forum Installation and Deployment
    Replies: 3
    Last Post: 11th January 2007, 20:54
  5. QMake Problem
    By KyrinComa in forum Newbie
    Replies: 3
    Last Post: 17th May 2006, 12:36

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