Results 1 to 10 of 10

Thread: How to link static

  1. #1
    Join Date
    Mar 2010
    Posts
    15

    Default How to link static

    Hi,
    I am using MacOs an have installed the complete Qt SDK. What should I do to link my projects static against the Qt Library?

    Thx

  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: How to link static

    Read the documentation? That would be great! http://doc.trolltech.com/4.6/deployment-mac.html

  3. #3
    Join Date
    Mar 2010
    Posts
    15

    Default Re: How to link static

    What' the /path/to/Qt under mac? /Developer/Applications/Qt is the app only. But not the lib.

  4. #4
    Join Date
    Mar 2010
    Posts
    15

    Default Re: How to link static

    Does no one have build qt static under mac?

  5. #5
    Join Date
    Mar 2010
    Posts
    15

    Default Re: How to link static

    Now I have downloaded the sources and do:
    ./configure -static
    make sub-src

    Where should I copy the files now? And how can I link static against them?

  6. #6
    Join Date
    Mar 2010
    Posts
    15

    Default Re: How to link static

    No one has made this before?

  7. #7
    Join Date
    Mar 2010
    Posts
    63
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: How to link static

    you mat use macdeployqt tool to install application in mac

  8. #8
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to link static

    Yes, there is no need for static library, just use the deployment tool and it'll package everything up for you nicely. It also gives you a less strict license.

  9. #9
    Join Date
    Mar 2010
    Posts
    15

    Default Re: How to link static

    And how does it work? Can I integrate it in Qt Creator?

  10. #10
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to link static

    You need to read the mac deployment guide, as Lykurg stated in the 2nd post: http://doc.trolltech.com/4.6/deployment-mac.html

    There's no need for integration in Qt Creator as you only need to do it for your final code distribution.

Similar Threads

  1. Qt static link with minimum size
    By foens in forum Installation and Deployment
    Replies: 0
    Last Post: 25th February 2010, 12:09
  2. How to static link in 4.6. on Mac OS 10.5?
    By Markus in forum Qt Programming
    Replies: 3
    Last Post: 6th February 2010, 22:24
  3. Link problems with static MySQL plugin
    By nurtsi in forum Installation and Deployment
    Replies: 4
    Last Post: 20th September 2007, 15:32
  4. How to link it static?
    By Ashitaka in forum Qt Programming
    Replies: 1
    Last Post: 29th July 2006, 16:38
  5. Problem with libmng on static link
    By jlbrd in forum Installation and Deployment
    Replies: 2
    Last Post: 10th May 2006, 22:38

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.