|
54 | 54 | {"match": {"name": ["MSG", "tagMSG"]}, "moduleName": "qt.core.coreapplication"}, |
55 | 55 | {"match": {"name": "QTranslator"}, "moduleName": "qt.core.translator"}, |
56 | 56 | {"match": {"name": ["Q_ASSERT", "Q_ASSERT_X", "Q_STATIC_ASSERT", "Q_STATIC_ASSERT_X"]}, "moduleName": "qt.core.global"}, |
| 57 | + {"match": {"name": "QLatin1StringView"}, "moduleName": "qt.core.string"}, |
| 58 | + {"match": {"name": ".*QUtf8StringView"}, "moduleName": "qt.core.utf8stringview"}, |
57 | 59 |
|
58 | 60 | {"match": {"name": "ulong"}, "moduleName": "core.stdc.config"}, |
59 | 61 | ], |
|
532 | 534 | { |
533 | 535 | "module": "qt.*", |
534 | 536 | "expectedLines": [ |
535 | | - "/****************************************************************************", |
536 | | - "**", |
537 | | - {"regex": "(\\*\\* Copyright \\(C\\)[^\n]*\n)+"}, |
538 | | - {"regex": "\\*\\* Contact: [^\n]*\n"}, |
539 | | - "**", |
540 | | - {"regex": "\\*\\* This file is part of[^\n]*\n"}, |
541 | | - "**", |
542 | | - "** $QT_BEGIN_LICENSE:LGPL$", |
543 | | - "** Commercial License Usage", |
544 | | - "** Licensees holding valid commercial Qt licenses may use this file in", |
545 | | - "** accordance with the commercial license agreement provided with the", |
546 | | - "** Software or, alternatively, in accordance with the terms contained in", |
547 | | - "** a written agreement between you and The Qt Company. For licensing terms", |
548 | | - "** and conditions see https://www.qt.io/terms-conditions. For further", |
549 | | - "** information use the contact form at https://www.qt.io/contact-us.", |
550 | | - "**", |
551 | | - "** GNU Lesser General Public License Usage", |
552 | | - "** Alternatively, this file may be used under the terms of the GNU Lesser", |
553 | | - "** General Public License version 3 as published by the Free Software", |
554 | | - "** Foundation and appearing in the file LICENSE.LGPL3 included in the", |
555 | | - "** packaging of this file. Please review the following information to", |
556 | | - "** ensure the GNU Lesser General Public License version 3 requirements", |
557 | | - "** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.", |
558 | | - "**", |
559 | | - "** GNU General Public License Usage", |
560 | | - "** Alternatively, this file may be used under the terms of the GNU", |
561 | | - "** General Public License version 2.0 or (at your option) the GNU General", |
562 | | - "** Public license version 3 or any later version approved by the KDE Free", |
563 | | - "** Qt Foundation. The licenses are as published by the Free Software", |
564 | | - "** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3", |
565 | | - "** included in the packaging of this file. Please review the following", |
566 | | - "** information to ensure the GNU General Public License requirements will", |
567 | | - "** be met: https://www.gnu.org/licenses/gpl-2.0.html and", |
568 | | - "** https://www.gnu.org/licenses/gpl-3.0.html.", |
569 | | - "**", |
570 | | - "** $QT_END_LICENSE$", |
571 | | - "**", |
572 | | - "****************************************************************************/", |
| 537 | + {"regex": "(// Copyright \\(C\\)[^\n]*\n)+"}, |
| 538 | + "// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only", |
573 | 539 | ], |
574 | 540 | "lines": [ |
575 | 541 | "/*", |
|
0 commit comments