About the lib format of Qt on Mac and IOS?



  • i use the installer from the Qt website.
    (1) on Windows, it use .dll by default. So, if i want to use .lib, do i have to compile the Qt by myself?
    (2) on Mac, what lib does my Qt application use, dynamic or static lib? and what format is that?
    as i found that there is no dynamic lib in <bin> dir, and there is .la, .a, .prl in <lib> dir, and there is .dylib <plugins> dir.
    (3) on iOS, what lib does my Qt application use, dynamic or static lib? and what format is that?
    as i found that there is .a, .prl in <plugins> dir & <lib> dir.
    thank you very much.
    ps. i usually works on Windows, so not very familiar with Mac.



  • Hey, ~opengpu!

    As far as I know, Apple do require you to link all iOS applications statically. Here the license issue comes in, actually. You can't keep on using LGPL, if you link your application statically. So, I am hardly sure that in case of professional iOS development, you'd need to get yourself at least a commercial Qt setup and static build out of Xcode.


  • Lifetime Qt Champion

    Hi,

    1. Yes

    2. On OS X it's dynamic libraries through Frameworks. Frameworks contains dynamic libraries, plugins, resources etc. Development Frameworks also provide headers.

    3. Currently only static

    For licensing take a look at this "article":http://blog.qt.digia.com/blog/2014/10/01/benefits-of-the-indie-mobile-licensing/



  • thank you very much..


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.