Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Single executable + LGPL
Forum Updated to NodeBB v4.3 + New Features

Single executable + LGPL

Scheduled Pinned Locked Moved Unsolved The Lounge
9 Posts 4 Posters 2.3k Views 5 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.
  • bbc-chiB Offline
    bbc-chiB Offline
    bbc-chi
    wrote on last edited by
    #1

    A while ago I contacted the author of 'Enigma Virtual Box' and asked him if it would be possible to pack files with his software into a single .exe, which will be automatically replaced when you add files of the same name to the executable path.
    This way, Qt dll's could be distributed in a single executable (with all other required files) and, theoretically, shouldn't violation the LGPL, because you can still swap the dll's as you please.
    Since neither I, nor the author of 'Enigma Virtual Box' have the possibility to discuss this matter with a lawyer, whether there's really no violation of the LGPL, I'd like to ask you (the community)!

    Is it okay to distibute a single executable under Qt's LGPL with this 'replacement feature' or would it still be a violation of the license? Any feedback is highly appreciated ;)

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

      Hi and welcome to devnet,

      Do you mean use an installer that would replace all .dlls on installation of a new version ?

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

      bbc-chiB 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Do you mean use an installer that would replace all .dlls on installation of a new version ?

        bbc-chiB Offline
        bbc-chiB Offline
        bbc-chi
        wrote on last edited by
        #3

        @SGaist said in Single executable + LGPL:

        Hi and welcome to devnet,

        Do you mean use an installer that would replace all .dlls on installation of a new version ?

        Hello SGaist, thanks for your reply and the welcome!

        No, there is no installer involved! With 'Enigma Virtual Box' you can pack all your files needed for your executable to run, into a single .exe (e.g.: MyProgram.exe, Qt5Core.dll, Qt5Gui.dll, Qt5Widgets.dll and some images or icons -> MyProg.exe). Normally this would violate Qt's LGPL due to the fact, that the dll's can't be changed/swapped afterwards. But with the new feature I asked for, you are also able to copy a different version of the Qt-Dll's to the same directory as MyProg.exe and it runs with those local dll's instead of the (before) virtualized ones. Technically (and to my understanding) not a violation of the LGPL!? But again, I haven't spoken to a lawyer nor am I one and we (the author and I) sure don't want to upset the Qt devs by advertising a (free) product, that violates the license... That's why I'm asking here first ;)

        JKSHJ 1 Reply Last reply
        0
        • bbc-chiB bbc-chi

          @SGaist said in Single executable + LGPL:

          Hi and welcome to devnet,

          Do you mean use an installer that would replace all .dlls on installation of a new version ?

          Hello SGaist, thanks for your reply and the welcome!

          No, there is no installer involved! With 'Enigma Virtual Box' you can pack all your files needed for your executable to run, into a single .exe (e.g.: MyProgram.exe, Qt5Core.dll, Qt5Gui.dll, Qt5Widgets.dll and some images or icons -> MyProg.exe). Normally this would violate Qt's LGPL due to the fact, that the dll's can't be changed/swapped afterwards. But with the new feature I asked for, you are also able to copy a different version of the Qt-Dll's to the same directory as MyProg.exe and it runs with those local dll's instead of the (before) virtualized ones. Technically (and to my understanding) not a violation of the LGPL!? But again, I haven't spoken to a lawyer nor am I one and we (the author and I) sure don't want to upset the Qt devs by advertising a (free) product, that violates the license... That's why I'm asking here first ;)

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          @bbc-chi said in Single executable + LGPL:

          With 'Enigma Virtual Box' you can pack all your files needed for your executable to run, into a single .exe (e.g.: MyProgram.exe, Qt5Core.dll, Qt5Gui.dll, Qt5Widgets.dll and some images or icons -> MyProg.exe).

          This is an interesting concept. So, MyProg.exe is more like a container for MyProgram.exe and the DLLs.

          with the new feature I asked for, you are also able to copy a different version of the Qt-Dll's to the same directory as MyProg.exe and it runs with those local dll's instead of the (before) virtualized ones. Technically (and to my understanding) not a violation of the LGPL!?

          I think this feature fulfills your obligations to allow users to replace the Qt software in your application with their own verison.

          But again, I haven't spoken to a lawyer nor am I one and we (the author and I) sure don't want to upset the Qt devs by advertising a (free) product, that violates the license... That's why I'm asking here first ;)

          Be aware that this community (including myself) aren't lawyers and we don't often talk to lawyers either :)

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          bbc-chiB 1 Reply Last reply
          4
          • JKSHJ JKSH

            @bbc-chi said in Single executable + LGPL:

            With 'Enigma Virtual Box' you can pack all your files needed for your executable to run, into a single .exe (e.g.: MyProgram.exe, Qt5Core.dll, Qt5Gui.dll, Qt5Widgets.dll and some images or icons -> MyProg.exe).

            This is an interesting concept. So, MyProg.exe is more like a container for MyProgram.exe and the DLLs.

            with the new feature I asked for, you are also able to copy a different version of the Qt-Dll's to the same directory as MyProg.exe and it runs with those local dll's instead of the (before) virtualized ones. Technically (and to my understanding) not a violation of the LGPL!?

            I think this feature fulfills your obligations to allow users to replace the Qt software in your application with their own verison.

            But again, I haven't spoken to a lawyer nor am I one and we (the author and I) sure don't want to upset the Qt devs by advertising a (free) product, that violates the license... That's why I'm asking here first ;)

            Be aware that this community (including myself) aren't lawyers and we don't often talk to lawyers either :)

            bbc-chiB Offline
            bbc-chiB Offline
            bbc-chi
            wrote on last edited by
            #5

            @JKSH said in Single executable + LGPL:

            @bbc-chi said in Single executable + LGPL:

            With 'Enigma Virtual Box' you can pack all your files needed for your executable to run, into a single .exe (e.g.: MyProgram.exe, Qt5Core.dll, Qt5Gui.dll, Qt5Widgets.dll and some images or icons -> MyProg.exe).

            This is an interesting concept. So, MyProg.exe is more like a container for MyProgram.exe and the DLLs.

            Exactly! MyProg.exe contains all required files to run MyProgram.exe in a virtual environment. Hence the name 'Virtual Box' ;)

            with the new feature I asked for, you are also able to copy a different version of the Qt-Dll's to the same directory as MyProg.exe and it runs with those local dll's instead of the (before) virtualized ones. Technically (and to my understanding) not a violation of the LGPL!?

            I think this feature fulfills your obligations to allow users to replace the Qt software in your application with their own verison.

            I'd think so too... But who really understands all the 'License Agreements and Service Terms'?

            But again, I haven't spoken to a lawyer nor am I one and we (the author and I) sure don't want to upset the Qt devs by advertising a (free) product, that violates the license... That's why I'm asking here first ;)

            Be aware that this community (including myself) aren't lawyers and we don't often talk to lawyers either :)

            Is there anyone on this forum I could ask? You know... Better safe than sorry

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

              I'm not aware of any lawyer member. What you can do is ask the Free Software Fondation, they should be able to give you accurate advices.

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

              bbc-chiB 1 Reply Last reply
              1
              • SGaistS SGaist

                I'm not aware of any lawyer member. What you can do is ask the Free Software Fondation, they should be able to give you accurate advices.

                bbc-chiB Offline
                bbc-chiB Offline
                bbc-chi
                wrote on last edited by
                #7

                @SGaist said in Single executable + LGPL:

                I'm not aware of any lawyer member. What you can do is ask the Free Software Foundation, they should be able to give you accurate advices.

                Thanks for the tip... I'll investigate ;)

                But, to be perfectly honest, I was hoping for a more in-house advice... sigh

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

                  The only advice one can give regarding licenses when he's not himself a lawyer is: ask a lawyer.

                  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
                  2
                  • L Offline
                    L Offline
                    lili1000
                    Banned
                    wrote on last edited by
                    #9
                    This post is deleted!
                    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