Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Opensource iOS application

Opensource iOS application

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 1.7k Views
  • 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.
  • D Offline
    D Offline
    darkmarouane
    wrote on 11 Mar 2017, 13:08 last edited by A Former User 3 Nov 2017, 13:17
    #1

    Hi,

    I'd like to start an iOS application using Qt/QML. The app will be opensource and I'll probably have future contributors sign a CLA.
    What are my options in terms of licenses?

    • If Qt is linked dynamically to my app, can I publish it as MIT or Apache? In that case, can I use the GPL parts of Qt?
    • If the app is published as GPLv3, can I link Qt statically and still be able to publish it to the ios apple store without violating the gpl terms?

    Thanks
    Marouane

    T 1 Reply Last reply 13 Mar 2017, 08:15
    0
    • D darkmarouane
      11 Mar 2017, 13:08

      Hi,

      I'd like to start an iOS application using Qt/QML. The app will be opensource and I'll probably have future contributors sign a CLA.
      What are my options in terms of licenses?

      • If Qt is linked dynamically to my app, can I publish it as MIT or Apache? In that case, can I use the GPL parts of Qt?
      • If the app is published as GPLv3, can I link Qt statically and still be able to publish it to the ios apple store without violating the gpl terms?

      Thanks
      Marouane

      T Offline
      T Offline
      tekojo
      wrote on 13 Mar 2017, 08:15 last edited by
      #2

      Hi @darkmarouane
      Those are really hard questions, as the Apple app store rules aren't the simplest out there.
      The normal disclaimer of me not being a lawyer goes here.

      The first question is answered by the GPL license compatibility. If you link to GPL you need to use GPL. LGPL is a different matter, that is more permissive.

      For the second question, based on what I see, I would say GPL in the app store is not ok. I mean the GPL would be ok with it, but the Apple app store rules would not be ok with it.
      There are pretty long discussions out there on exactly why this is not ok, but it looks like those discussions are valid and the app store rules do not like GPL.

      1 Reply Last reply
      1
      • R Offline
        R Offline
        rhardih
        wrote on 13 Mar 2017, 10:06 last edited by
        #3

        With regards to Qt, afaict it's only Qt Charts, Qt Data Visualization & Qt Virtual Keyboard that is strictly GPLv3 or Commercial, so if you avoid using those, adhering to the LGPL should be fine. Since you plan on being open source, both static and dynamic linking is viable options in that case.

        http://doc.qt.io/qt-5/qtmodules.html#gpl-licensed-addons
        http://stackoverflow.com/questions/10130143/gpl-lgpl-and-static-linking

        1 Reply Last reply
        1
        • D Offline
          D Offline
          darkmarouane
          wrote on 13 Mar 2017, 21:52 last edited by
          #4

          Thanks guys for the clarifications. So if my understanding is right:

          • If I use the LGPL-only parts of Qt I may publish the app with any license I may see fit. And I can still use static linking as long as it is "work that uses the Library" (which will be the case). Therefore, I shouldn't worry about publishing to Apple's app store.
          • If I use the GPL parts too I should publish it as GPL and I'd better ask Apple if they're Ok with it. Since there's already some GPL apps on the app store, I think GPL apps are allowed. But do the Qt company allow gpl apps that use qt to be published to the app store or do this specific scenario require a commercial license?
          T 1 Reply Last reply 14 Mar 2017, 08:36
          0
          • D darkmarouane
            13 Mar 2017, 21:52

            Thanks guys for the clarifications. So if my understanding is right:

            • If I use the LGPL-only parts of Qt I may publish the app with any license I may see fit. And I can still use static linking as long as it is "work that uses the Library" (which will be the case). Therefore, I shouldn't worry about publishing to Apple's app store.
            • If I use the GPL parts too I should publish it as GPL and I'd better ask Apple if they're Ok with it. Since there's already some GPL apps on the app store, I think GPL apps are allowed. But do the Qt company allow gpl apps that use qt to be published to the app store or do this specific scenario require a commercial license?
            T Offline
            T Offline
            tekojo
            wrote on 14 Mar 2017, 08:36 last edited by
            #5

            @darkmarouane this is always complicated :)

            LGPL only parts and static linking means that you need to have everything under LGPL. It's not just a use-relationship when you static link, it becomes part of the whole work (there is only one executable in the end).
            With dynamic linking you could use whatever license, but then you can't get into the app store (as far as I know).

            The GPL apps in the app store are in a pretty gray area. The app store rules are the problem, they have strange clauses in there that have not been tested properly, and would need a real lawyer (and probably a court case).

            The Qt Company doesn't really have a say with GPL licensed software, the GPL license is the document to live by.
            And when submitting to the app store, the Apple guide/agreement, which is the problematic paper. It really isn't compatible with the GPL.

            1 Reply Last reply
            1

            5/5

            14 Mar 2017, 08:36

            • Login

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