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. GPL and .ui file
QtWS25 Last Chance

GPL and .ui file

Scheduled Pinned Locked Moved Solved General and Desktop
licensinggpl
2 Posts 2 Posters 264 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.
  • A Offline
    A Offline
    adonezid
    wrote on last edited by
    #1

    I understand that to use GPL you need to include two lines in every source file.
    .ui file is generated by designer and it is actually a xml file.
    Is ui file considered source file? Do I have to include these lines in them too?
    What is the common practice?

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

      Hi,

      You can add:

      <author>
          SPDX-FileCopyrightText: Copyright (c)  year name_of_copyright_holder email_of_copyright_holder
          SPDX-License-Identifier: GPL-3.0-or-later
        </author>
      

      Note that this is not specific to GPL. Whatever license you use, you shall make it known. There are several possible ways to do it. I would recommend following the SPDX format. It's simple to manage and you can use the reuse tool to help you ensure you have all what is needed in your software sources.

      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
      0
      • A adonezid has marked this topic as solved on

      • Login

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