Results 1 to 2 of 2

Thread: plugandpaint example with dynamic linking

  1. #1
    Join Date
    Jul 2008
    Location
    Portland, OR
    Posts
    1
    Platforms
    MacOS X Windows

    Default plugandpaint example with dynamic linking

    I have just installed Qt 4.6 on my Macintosh. Since we will need to deploy a proprietary application I need to figure out dynamic linking. I have been working through this documentation:

    http://doc.qt.nokia.com/4.6/deployme...-as-frameworks

    but it doesn't work the way it's described. qmake doesn't create a Makefile, it creates an Xcode project, even when using qmake -makefile. Without the makefile, it's hard to proceed with the example.

    Is there a better way to go with this? Some more automated way? Is there some explanation somewhere that describes how it might be done within Xcode?

    I installed the 4.6 SDK version of Qt.
    I have Xcode 3.1.2 installed on Mac OS X 10.5.8.
    gcc version 4.0.1 (Apple Inc. build 5490)

    Thanks!
    -John Weeks
    WaveMetrics, Inc.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: plugandpaint example with dynamic linking

    Just substitute all the make related instructions with building code using XCode. Otherwise you'll have to use gcc directly instead and use "qmake -platform macx-g++" to tell qmake to build a makefile for gcc.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. static & dynamic linking
    By mickey in forum General Programming
    Replies: 6
    Last Post: 11th June 2010, 09:57
  2. MAC OSX Dynamic Linking and Deployment
    By rokkamraja in forum Qt Programming
    Replies: 1
    Last Post: 24th October 2009, 16:14
  3. Dynamic linking on Mac OS X
    By Vnuce in forum Newbie
    Replies: 6
    Last Post: 19th October 2009, 14:31
  4. Linking Qt in a dynamic library
    By dave_mm0 in forum Qt Programming
    Replies: 4
    Last Post: 18th July 2009, 17:28
  5. dynamic linking on mac
    By munna in forum General Discussion
    Replies: 4
    Last Post: 1st January 2007, 19:39

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.