Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Lgpl version and md5/sha check of Qt dll files

Lgpl version and md5/sha check of Qt dll files

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 2 Posters 2.1k 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.
  • K Offline
    K Offline
    Katmai
    wrote on 24 Nov 2013, 02:55 last edited by
    #1

    Hello.I want to ask a few questions about Qt's lgpl version.

    Is it possible to use Upx like software to decrease the sizes of Qt dll files which will deployed with the program(my program) files?(with Lgpl licence of Qt I mean)

    My other question, is it possible to md5/sha check(inside my program) of the dll files of Qt?I mean my program will check if Qt dll files are really the original Qt files using md5/sha.If they are not original Qt dll files,then my program will not launch.But at the same time,this means that the user will not be able to update the dll files to a newer version of Qt,because if they do the program will not launch.So I wonder if we are allowed to do this check using lgpl licence of Qt?

    I have contacted Digia about 2-3 days ago,but no answer yet.

    Kind Regards,

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 24 Nov 2013, 09:19 last edited by
      #2

      I think that this MD5 check might be violating LGPL when combined with Upx packing. If you do this, you definitely need to inform your users about this, and give them a way to swap the libraries if they choose to do it.

      (Z(:^

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Katmai
        wrote on 25 Nov 2013, 22:41 last edited by
        #3

        Thanks for your answer.

        If I use upx and also inform them and allow them to use a specific version of Qt dll files(for example 5.1) is it okay?(my program will check if md5/sha of the upx compressed dll files match ,if they don't match then it will check if md5/sha of the specific version of Qt dlls match)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 26 Nov 2013, 08:06 last edited by
          #4

          I suppose it is all right, but please don't cite me in court ;P

          LGPL requires the libraries to be swappable, and in your solution they should be, so it looks good to me.

          (Z(:^

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Katmai
            wrote on 27 Nov 2013, 07:23 last edited by
            #5

            Thanks for your answer.

            bq. I suppose it is all right, but please don’t cite me in court ;P

            :D

            bq. LGPL requires the libraries to be swappable, and in your solution they should be, so it looks good to me.

            But if a user wants to swap a Qt library file to a newer or older version,the program will not start cause of the md5/sha check of a specific version of Qt dll files,so is it still alright ?

            Also I wonder why Digia didn'T give me an answer :D

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sierdzio
              Moderators
              wrote on 27 Nov 2013, 07:37 last edited by
              #6

              I don't think the license talks about swapping the libraries for an older or newer versions. Library vendors are not obliged to keep binary compatibility like Qt does.

              (Z(:^

              1 Reply Last reply
              0
              • K Offline
                K Offline
                Katmai
                wrote on 29 Nov 2013, 07:15 last edited by
                #7

                Thanks for your answers :)

                1 Reply Last reply
                0

                7/7

                29 Nov 2013, 07:15

                • Login

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