Results 1 to 8 of 8

Thread: qmake Problem on Mac

  1. #1
    Join Date
    Apr 2010
    Posts
    31
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Question qmake Problem on Mac

    Hi.
    I just installed the latest version of the Nokia Qt SDK from forum.nokia.com
    But there is no qmake in Qt in Path
    I searched for qmake but couldn't find anything.
    Please help me!
    Thanks in advance.

  2. #2
    Join Date
    Feb 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qmake Problem on Mac

    have you tried:
    /usr/bin/qmake
    or
    /usr/bin/qmake-4.7

  3. #3
    Join Date
    Apr 2010
    Posts
    31
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: qmake Problem on Mac

    I did. There is nothing there.

  4. #4
    Join Date
    Jan 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: qmake Problem on Mac

    Hi,
    I have the same problem. No qmake in usr/bin/ and commands like qmake -spec macx-g++ always give me -bash: qmake: command not found. Should I install qmake from somewhere?? I'm using mac os Lion and latest Qt.
    Thanks in advance.

  5. #5
    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: qmake Problem on Mac

    Where do you have installed the SDK? In that folder you have Desktop/474/blabla/bin/qmake.

  6. #6
    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.

  7. #7
    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.

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

    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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.