Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Section E.3. C++/Qt Setup: Mac OSX

E.3. C++/Qt Setup: Mac OSX

  1. Install xcode from Developer.apple.com.[5]

    [5] developer.apple.com

  2. Install qtsdk from qt.nokia.com.[6]

    [6] qt.nokia.com

  3. Run qtcreator from previously installed qtsdk.

QMAKESPEC

  • qmake creates xcode projects by default instead of makefiles.

  • Use qmake -spec macx-g++ to generate a command line Makefile.

  • Put CONFIG -= app_bundle in your .pro file to avoid creating an executable deep in the MacOS app directory structure.

  • If you installed make with fink, read the assistant documentation on how to rebuild/set up your Qt environment properly.



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial