Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. About the lib format of Qt on Mac and IOS?
Qt 6.11 is out! See what's new in the release blog

About the lib format of Qt on Mac and IOS?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    opengpu
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tucnak
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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/

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • O Offline
          O Offline
          opengpu
          wrote on last edited by
          #4

          thank you very much..

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved