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. public licence and static linking
Forum Updated to NodeBB v4.3 + New Features

public licence and static linking

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.5k 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.
  • QT-static-prgmQ Offline
    QT-static-prgmQ Offline
    QT-static-prgm
    wrote on last edited by
    #1

    Hello,

    some guys told me that i'm not allowed to do static linking (for a stand-alone exe) using the free open source version of Qt.
    Haven't found something about it in the Licence and there was no conflict when i compiled Qt source for static linking and open source Licence. To make sure to not violate the Qt Licence i'd like to know if anyone of you knows whether the static linking is permitted or not.

    aha_1980A 1 Reply Last reply
    0
    • QT-static-prgmQ QT-static-prgm

      Hello,

      some guys told me that i'm not allowed to do static linking (for a stand-alone exe) using the free open source version of Qt.
      Haven't found something about it in the Licence and there was no conflict when i compiled Qt source for static linking and open source Licence. To make sure to not violate the Qt Licence i'd like to know if anyone of you knows whether the static linking is permitted or not.

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @QT-static-prgm

      To make sure to not violate the Qt Licence i'd like to know if anyone of you knows whether the static linking is permitted or not.

      Short answer is: not.

      Reason: LGPL forces you to allow your users to re-link your program to a different library version, which is hard with static linking.

      If you provide the means, however, it can still be allowed.

      Disclaimer: I'm not a lawyer.

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • QT-static-prgmQ Offline
        QT-static-prgmQ Offline
        QT-static-prgm
        wrote on last edited by
        #3

        All right, thanks for the info. Well the source is not actually released. It's a tutorial for Qt with an final "test" so the tutorial guides you to write the program yourself. To make it more visual there is that complete stand alone exe.

        But in that case in accordance with the Licence i'll do it dynamic linked.

        But if i'd publish the whole source code you'd be able to "relink" it and it should be no problem, right?

        aha_1980A VRoninV 2 Replies Last reply
        0
        • QT-static-prgmQ QT-static-prgm

          All right, thanks for the info. Well the source is not actually released. It's a tutorial for Qt with an final "test" so the tutorial guides you to write the program yourself. To make it more visual there is that complete stand alone exe.

          But in that case in accordance with the Licence i'll do it dynamic linked.

          But if i'd publish the whole source code you'd be able to "relink" it and it should be no problem, right?

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @QT-static-prgm if you publish the sources, static and dynamic linking should both be possible for your releases.

          Disclaimer: I'm not a lawyer.

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • QT-static-prgmQ QT-static-prgm

            All right, thanks for the info. Well the source is not actually released. It's a tutorial for Qt with an final "test" so the tutorial guides you to write the program yourself. To make it more visual there is that complete stand alone exe.

            But in that case in accordance with the Licence i'll do it dynamic linked.

            But if i'd publish the whole source code you'd be able to "relink" it and it should be no problem, right?

            VRoninV Offline
            VRoninV Offline
            VRonin
            wrote on last edited by VRonin
            #5

            @QT-static-prgm said in public licence and static linking:

            But if i'd publish the whole source code you'd be able to "relink" it and it should be no problem, right?

            If your program is released with GPL or any other less restrictive license (LGPL, MIT, Apache, etc.) and you are publishing the sources then you don't have to worry about anything

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            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