diff --git a/src/exceptions/Nokia-Qt-exception-1.1.xml b/src/exceptions/Nokia-Qt-exception-1.1.xml index 48f159ae9..551831764 100644 --- a/src/exceptions/Nokia-Qt-exception-1.1.xml +++ b/src/exceptions/Nokia-Qt-exception-1.1.xml @@ -1,17 +1,20 @@ - + + + Qt-LGPL-exception-1.1 + https://www.keepassx.org/dev/projects/keepassx/repository/revisions/b8dfb9cc4d5133e0f09cd7533d15a4f1c19a40f2/entry/LICENSE.NOKIA-LGPL-EXCEPTION - Typically used by Nokia Qt to apply an exception to LGPL-2.1 + DEPRECATED: Use Qt-LGPL-exception-1.1

Nokia Qt LGPL Exception version 1.1

As an additional permission to the GNU Lesser General Public - License version 2.1, the object code form of a ""work that - uses the Library"" may incorporate material from a header file + License version 2.1, the object code form of a "work that + uses the Library" may incorporate material from a header file that is part of the Library. You may distribute such object code under terms of your choice, provided that:

diff --git a/src/exceptions/Qt-LGPL-exception-1.1.xml b/src/exceptions/Qt-LGPL-exception-1.1.xml new file mode 100644 index 000000000..290ebd51b --- /dev/null +++ b/src/exceptions/Qt-LGPL-exception-1.1.xml @@ -0,0 +1,62 @@ + + + + + http://code.qt.io/cgit/qt/qtbase.git/tree/LGPL_EXCEPTION.txt + + Used with the LGPL-2.1, which is mentioned explicitly in the exception text. + + +

The Qt Company Qt LGPL Exception version 1.1

+
+

As an additional permission to the GNU Lesser General Public + License version 2.1, the object code form of a "work that + uses the Library" may incorporate material from a header file + that is part of the Library. You may distribute such object + code under terms of your choice, provided that:

+ + + (i) + the header files of the Library have not been modified; and + + + (ii) + the incorporated material is limited to numerical + parameters, data structure layouts, accessors, macros, + inline functions and templates; and + + + (iii) + you comply with the terms of Section 6 of the GNU Lesser + General Public License version 2.1. + + +

Moreover, you may apply this exception to a modified + version of the Library, provided that such + modification does not involve copying material from + the Library into the modified Library's header files + unless such material is limited to

+ + + (i) + numerical parameters; + + + (ii) + data structure layouts; + + + (iii) + accessors; and + + + (iv) + small macros, templates and inline functions of five + lines or less in length. + + +

Furthermore, you are not required to apply this additional + permission to a modified version of the Library.

+
+
+
diff --git a/test/simpleTestForGenerator/Nokia-Qt-exception-1.1.txt b/test/simpleTestForGenerator/Nokia-Qt-exception-1.1.txt index f2be32c01..cbf4518af 100644 --- a/test/simpleTestForGenerator/Nokia-Qt-exception-1.1.txt +++ b/test/simpleTestForGenerator/Nokia-Qt-exception-1.1.txt @@ -1,6 +1,6 @@ Nokia Qt LGPL Exception version 1.1 -As an additional permission to the GNU Lesser General Public License version 2.1, the object code form of a ""work that uses the Library"" may incorporate material from a header file that is part of the Library. You may distribute such object code under terms of your choice, provided that: +As an additional permission to the GNU Lesser General Public License version 2.1, the object code form of a "work that uses the Library" may incorporate material from a header file that is part of the Library. You may distribute such object code under terms of your choice, provided that: (i) the header files of the Library have not been modified; and (ii) the incorporated material is limited to numerical parameters, data structure layouts, accessors, macros, inline functions and templates; and diff --git a/test/simpleTestForGenerator/Qt-LGPL-exception-1.1.txt b/test/simpleTestForGenerator/Qt-LGPL-exception-1.1.txt new file mode 100644 index 000000000..bd94b5538 --- /dev/null +++ b/test/simpleTestForGenerator/Qt-LGPL-exception-1.1.txt @@ -0,0 +1,22 @@ +The Qt Company Qt LGPL Exception version 1.1 + +As an additional permission to the GNU Lesser General Public License version +2.1, the object code form of a "work that uses the Library" may incorporate +material from a header file that is part of the Library. You may distribute +such object code under terms of your choice, provided that: + (i) the header files of the Library have not been modified; and + (ii) the incorporated material is limited to numerical parameters, data + structure layouts, accessors, macros, inline functions and + templates; and + (iii) you comply with the terms of Section 6 of the GNU Lesser General + Public License version 2.1. + +Moreover, you may apply this exception to a modified version of the Library, +provided that such modification does not involve copying material from the +Library into the modified Library's header files unless such material is +limited to (i) numerical parameters; (ii) data structure layouts; +(iii) accessors; and (iv) small macros, templates and inline functions of +five lines or less in length. + +Furthermore, you are not required to apply this additional permission to a +modified version of the Library.