Results 1 to 2 of 2

Thread: qmake doesn't make a 'make' file

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

    Default qmake doesn't make a 'make' file

    I'm trying to build an application for OS X following the Qt instructions. I'm using the example program plugandpaint. But the basic 3 lines necessary don't work:
    make clean
    qmake -config release
    make

    The result of make is:
    make: *** No targets specified and no makefile found. Stop.
    This is what happens if there is no make file in the plugandpaint directory.

    qmake executes but appears to create an xcode project instead of a make file.

    What am I missing here?

  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: qmake doesn't make a 'make' file

    You also have to pass "-spec macx-g++" that qmake creates a Makefile. You can also link that spec file to default then you must not type it every time. (should be somewhere in /usr/local/QtXXX/mkspecs/)

  3. The following user says thank you to Lykurg for this useful post:

    elyness (5th August 2010)

Similar Threads

  1. Window OS make distclean && qmake && make one line
    By patrik08 in forum General Programming
    Replies: 4
    Last Post: 22nd March 2007, 10:43
  2. what is make qmake?
    By Pushpa Kumari K.H in forum Qt Programming
    Replies: 4
    Last Post: 23rd February 2007, 05:35
  3. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57
  4. help explaining qmake generated make file
    By high_flyer in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2006, 09:54
  5. Replies: 1
    Last Post: 11th January 2006, 14:15

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.