Skip to contentSkip to conversation

Wrong license information in package qt5quickcontrols2?

Buildroot Steinhilber 2 participants 4 messages Apr 8, 2019 – Apr 13, 2019

lore
Share & tools
lore

Steinhilber

#0 lore raw

Hi,

I think the license information in the package qt5quickcontrols2 is wrong. But since I'm not an expert on licensing I didn't want to post a patch.

The .mk file includes this line: "QT5QUICKCONTROLS2_LICENSE = GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs)", but on the Qt Website(https://doc.qt.io/qt-5/qtquickcontrols-index.html) it states: "Qt Quick Controls 2 is available under commercial licenses from The Qt Company. In addition, it is available under the GNU Lesser General Public License, version 3, or the GNU General Public License, version 2." So from this info I would say the .mk file should contain "QT5QUICKCONTROLS2_LICENSE = GPL-2.0 or LGPL-3.0, GFDL-1.3 (docs)".

But one thing that is even more confusing to me, is that the source folder of the package contains license files for GPL2, GPL3 and LGPL3, so from my understanding I should be able to choose any one of those licenses. So it should really be "QT5QUICKCONTROLS2_LICENSE = GPL-2.0, GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs)". Am I correct?

Can someone with more knowledge on licensing confirm or disapprove on this?

Regards,
Markus Steinhilber
________________________________

Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137

#1 lore raw
Quoted 9 lines · Markus

Hi,

I think the license information in the package qt5quickcontrols2 is wrong. But since I'm not an expert on licensing I didn't want to post a patch.

The .mk file includes this line: "QT5QUICKCONTROLS2_LICENSE = GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs)", but on the Qt Website(https://doc.qt.io/qt-5/qtquickcontrols-index.html) it states: "Qt Quick Controls 2 is available under commercial licenses from The Qt Company. In addition, it is available under the GNU Lesser General Public License, version 3, or the GNU General Public License, version 2." So from this info I would say the .mk file should contain "QT5QUICKCONTROLS2_LICENSE = GPL-2.0 or LGPL-3.0, GFDL-1.3 (docs)".

But one thing that is even more confusing to me, is that the source folder of the package contains license files for GPL2, GPL3 and LGPL3, so from my understanding I should be able to choose any one of those licenses. So it should really be "QT5QUICKCONTROLS2_LICENSE = GPL-2.0, GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs)". Am I correct?

Can someone with more knowledge on licensing confirm or disapprove on this?

The only somewhat reliable source of information for licensing is each
individual source file. So the correct way to go about it is to check each individual source file and check it's license.

The three individual license files are included because depending on the
situation, either of them could apply.

In this case we're lucky because all source files contain the same license
header. This header specifies: commercial OR LGPL-3.0 OR GPL-2.0+. So you are correct, the license information in Buildroot is wrong. It should be:

QT5QUICKCONTROLS2_LICENSE = GPL-2.0+ or LGPL-3.0, GFDL-1.3 (docs)

Note that the docs should only be mentioned if they are in fact installed on
the target. I'm not sure if that is the case here. Anyway, that's a separate issue and in general we're not very consistent in that.

Oh and I also checked that both 5.6 and 5.12 have the same license - that's not
always the case either.

So, feel free to send a patch to fix this!

Regards,
Arnout

#2 lore raw
Quoted 6 lines

-----Original Message-----
From: Arnout Vandecappelle [mailto:arnout at mind.be]

Note that the docs should only be mentioned if they are in fact installed on
the target. I'm not sure if that is the case here. Anyway, that's a separate issue and in general we're not very consistent in that.

I looked into that. I can't find any documentation that is copied to the target - normally. However I think you could use a build parameter to build and install the examples and these are licensed under FDL. I don't know what's the 'buildroot' way to do in such case. I think it might be better to list an unnecessary license than to miss one.

Quoted 5 lines

Oh and I also checked that both 5.6 and 5.12 have the same license - that's not
always the case either.

So, feel free to send a patch to fix this!

I wanted to. But then I found out that 5.6.3 does not include a GPLv2 license file, although in the source files they have GPLv2 in the headers. Is it Ok, to mention that it's GPLv2 without supplying an actual license file for it? It's not very good, but I think it's better than to show the wrong license.

I think the reason this is the way it is, is because qtquickcontrols2 was officially only introduced in Qt 5.7. In the 5.6 docs there is no info on them. Also the current docs say "The module was introduced in Qt 5.7."

Regards,
Markus Steinhilber
________________________________

Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137

#3 lore raw
Quoted 11 lines · Markus
Quoted 6 lines

-----Original Message-----
From: Arnout Vandecappelle [mailto:arnout at mind.be]

Note that the docs should only be mentioned if they are in fact installed on
the target. I'm not sure if that is the case here. Anyway, that's a separate issue and in general we're not very consistent in that.

I looked into that. I can't find any documentation that is copied to the target - normally. However I think you could use a build parameter to build and install the examples and these are licensed under FDL. I don't know what's the 'buildroot' way to do in such case. I think it might be better to list an unnecessary license than to miss one.

OK, so we *could* conditionally add the FDL license based on whether or not the
examples are selected, but I don't really think that is necessary. So just keep FDL unconditinoally.

Quoted 10 lines
Quoted 6 lines

Oh and I also checked that both 5.6 and 5.12 have the same license - that's not
always the case either.

So, feel free to send a patch to fix this!

I wanted to. But then I found out that 5.6.3 does not include a GPLv2 license file, although in the source files they have GPLv2 in the headers. Is it Ok, to mention that it's GPLv2 without supplying an actual license file for it? It's not very good, but I think it's better than to show the wrong license.

Yes it's OK. Add a comment above it in the .mk file to make it explicity that
it is missing.

Regards,
Arnout

Quoted 10 lines

I think the reason this is the way it is, is because qtquickcontrols2 was officially only introduced in Qt 5.7. In the 5.6 docs there is no info on them. Also the current docs say "The module was introduced in Qt 5.7."

Regards,
Markus Steinhilber
________________________________

Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137