Add REUSE ignore comment

For those files, reuse fails to process the copyright and licensing information. The information is written to .reuse/dep5 file and reuse is told to ignore what is in the file.

Task-number: QTBUG-124453
Change-Id: If593c713026d9d349055cb6e8e73500966a05d9b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Lucie Gérard 2024-05-07 16:25:48 +02:00 committed by Lucie Gerard
parent 3114e0a72e
commit 00a04dddaf
3 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,7 @@
// REUSE-IgnoreStart
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
// REUSE-IgnoreEnd
#include "cppgenerator.h"
@ -39,7 +41,7 @@ void generateList(const QList<int> &list, QTextStream &out)
}
}
// REUSE-IgnoreStart
QString CppGenerator::copyrightHeader() const
{
return
@ -47,6 +49,7 @@ QString CppGenerator::copyrightHeader() const
"// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0\n"
"\n"_L1;
}
// REUSE-IgnoreEnd
QString CppGenerator::privateCopyrightHeader() const
{

View File

@ -1 +1 @@
// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include <QObject> class Os9Newlines : public QObject { Q_OBJECT public Q_SLOTS: inline void testSlot() {} };
// REUSE-IgnoreStart // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 // REUSE-IgnoreEnd #include <QObject> class Os9Newlines : public QObject { Q_OBJECT public Q_SLOTS: inline void testSlot() {} };

View File

@ -1,5 +1,7 @@
// REUSE-IgnoreStart
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
// REUSE-IgnoreEnd
#include <qbytearray.h>
#include <qlist.h>
@ -120,11 +122,12 @@ static QByteArray createGlyphList()
int main(int, char **)
{
readGlyphList();
// REUSE-IgnoreStart
QByteArray header =
"// Copyright (C) 2016 The Qt Company Ltd.\n"
"// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only\n"
"\n";
// REUSE-IgnoreEnd
QByteArray note =
"/* This file is autogenerated from the Adobe Glyph List database" +