use symbolic links to collect all licenses in one directory and adjust sourcecode

This commit is contained in:
plc-user 2025-06-01 11:01:32 +02:00
parent 0b1491b59a
commit 1868f91ff8
2 changed files with 27 additions and 29 deletions

View File

@ -754,8 +754,8 @@
<file>fonts/LiberationSerif-Bold.ttf</file>
<file>fonts/LiberationSerif-Italic.ttf</file>
<file>fonts/LiberationSerif-BoldItalic.ttf</file>
<file>fonts/liberation-fonts.NOTICE</file>
<file>fonts/liberation-fonts.LICENSE</file>
<file>licenses/liberation-fonts.NOTICE</file>
<file>licenses/liberation-fonts.LICENSE</file>
<!-- "osifont" Font Software is licensed under the GNU GENERAL PUBLIC LICENSE, Version 3
As a special exception, if you create a document which uses this font, and embed this font or unaltered
@ -764,13 +764,11 @@
the document might be covered by the GNU General Public License. If you modify this font, you may extend
this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so,
delete this exception statement from your version.
See the file "fonts/osifont.LICENSE" for license information. -->
<file>fonts/osifont.ttf</file>
<file>fonts/osifont-italic.ttf</file>
<file>fonts/osifont.NOTICE</file>
<file>fonts/osifont.LICENSE</file>
<file>licenses/osifont.NOTICE</file>
<file>licenses/osifont.LICENSE</file>
<file>licenses/QElectroTech.NOTICE</file>
<file>licenses/QElectroTech.LICENSE</file>

View File

@ -443,8 +443,8 @@ std::tuple<QString, QString> QET::licenses(const QString &name)
const QMap<QString, QString> licenses = {
{"QElectroTech", ":/licenses/QElectroTech"},
{"QET-Elements", ":/licenses/QET-Elements"},
{"liberation-fonts", ":/fonts/liberation-fonts"},
{"osifont", ":/fonts/osifont"}
{"liberation-fonts", ":/licenses/liberation-fonts"},
{"osifont", ":/licenses/osifont"}
};
// Get base path for the license files