Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. LGPLv3 compliance for a PySide6 single-file portable application
Qt 6.12 LTS is out! See what's new in the release blog

LGPLv3 compliance for a PySide6 single-file portable application

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 64 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.
  • C Online
    C Online
    charan27
    wrote last edited by
    #1

    Hello Qt community,

    I have developed QuickTray, a free, MIT-licensed, open-source Windows application.

    Build environment:

    • Python 3.14.6
    • PySide6 and Shiboken6 6.12.0
    • Qt 6.12.0
    • PyInstaller 6.22.3

    The application is packaged as a single-file portable executable of approximately 29.57 MiB.

    I have collected the upstream Qt and PySide6 source archives, licence texts and third-party attribution materials.

    The complete application source and PyInstaller build configuration are available on GitHub:
    https://github.com/ramcharanreddy-cloud/QuickTray

    Before publishing the executable, I would like to clarify:

    1. Is single-file PyInstaller distribution permitted under LGPLv3 when sufficient rebuilding materials are provided?
    2. Can users' ability to rebuild the executable with modified Qt libraries satisfy Section 4(d)(0)?
    3. What additional source archives, notices or build materials are required?
    4. Are there any specific compliance requirements for PySide6 applications packaged using PyInstaller?

    I would appreciate guidance on distributing the application correctly while retaining its single-file portable format.

    Thank you!

    FeRDNYCF 1 Reply Last reply
    0
    • C charan27

      Hello Qt community,

      I have developed QuickTray, a free, MIT-licensed, open-source Windows application.

      Build environment:

      • Python 3.14.6
      • PySide6 and Shiboken6 6.12.0
      • Qt 6.12.0
      • PyInstaller 6.22.3

      The application is packaged as a single-file portable executable of approximately 29.57 MiB.

      I have collected the upstream Qt and PySide6 source archives, licence texts and third-party attribution materials.

      The complete application source and PyInstaller build configuration are available on GitHub:
      https://github.com/ramcharanreddy-cloud/QuickTray

      Before publishing the executable, I would like to clarify:

      1. Is single-file PyInstaller distribution permitted under LGPLv3 when sufficient rebuilding materials are provided?
      2. Can users' ability to rebuild the executable with modified Qt libraries satisfy Section 4(d)(0)?
      3. What additional source archives, notices or build materials are required?
      4. Are there any specific compliance requirements for PySide6 applications packaged using PyInstaller?

      I would appreciate guidance on distributing the application correctly while retaining its single-file portable format.

      Thank you!

      FeRDNYCF Offline
      FeRDNYCF Offline
      FeRDNYC
      wrote last edited by
      #2

      @charan27

      IANAL, but keep in mind that the LGPLv3 exists as a set of modifications of the GPLv3, which you should also read (and include with your packaging). Specifically, it's section 6 of the GPLv3 which is most relevant.

      1. Conveying Non-Source Forms.

      You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:

      a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.

      b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.

      c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.

      d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.

      e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.

      Basically, your GitHub repo represents a valid form of conveyance for the application source, and satisfies the distribution requirements of the GPL/LGPL, as long as you include in your application a copy of the license(s), and a link to the GitHub repo. That's all you have to do to have sufficiently "conveyed" the source code.

      1 Reply Last reply
      0
      • FeRDNYCF Offline
        FeRDNYCF Offline
        FeRDNYC
        wrote last edited by
        #3

        (This assumes that all build instructions, configuration, and steps for re-creating the single-file executable are included in the GitHub repo. Including the PyInstaller packaging parts. But if someone who's cloned your repo can follow the instructions contained within to re-create the single-file application — using either the same or different Qt versions, etc., at their discretion ­— then you're fine.)

        You also don't need to include any of the Qt, Python, PyInstaller, etc. library/tool source within your repo, as long as the build instructions/system are capable of either downloading what's needed at build time, or using a separately-installed copy the user provides. You just need to provide the code that's unique to your application.

        1 Reply Last reply
        0
        • C Online
          C Online
          charan27
          wrote last edited by
          #4

          Thank you for the clarification.

          For our actual Windows installer, we have included GPLv3 and LGPLv3 licence texts, third-party notices, replaceable Qt DLLs, public application source code, PyInstaller configuration and version-matched upstream source archives.

          Are there any additional Qt-specific source or attribution requirements for redistributing the official PySide6 Windows wheel binaries under LGPLv3?

          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
          • Unsolved