Results 1 to 3 of 3

Thread: qmake -project does not work

  1. #1
    Join Date
    Mar 2006
    Posts
    142
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default qmake -project does not work

    I have a problem with the binary distrib of qmake on Max OsX 10.5 (Leopard), each time I use the -project option I get the help, as there would be a syntax error:

    qmake -spec macx-g++ -project

    I use:
    QMake version 2.01a
    Using Qt version 4.3.2 in /Library/Frameworks

  2. #2
    Join Date
    Nov 2007
    Posts
    89
    Thanked 21 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qmake -project does not work

    Because the -spec options is valid only in makefile mode. Exec qmake -project, then qmake -makefile -spec macx-g++.

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

    Caius Aérobus (7th February 2008)

  4. #3
    Join Date
    Mar 2006
    Posts
    142
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: qmake -project does not work

    Right! Actually I had aliassed qmake as "qmake -spec macx-g++" so was not able to test it in this way.
    Many thanks!

Similar Threads

  1. Flex, Bison and qmake
    By Hydragyrum in forum Qt Programming
    Replies: 5
    Last Post: 2nd May 2011, 16:52
  2. qmake: add to project but do not compile
    By jesse in forum Newbie
    Replies: 2
    Last Post: 8th November 2007, 17:03
  3. Replies: 3
    Last Post: 18th April 2007, 16:31
  4. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 06:57
  5. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 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.