diff options
Diffstat (limited to 'tests/manual/cocoa')
27 files changed, 1506 insertions, 473 deletions
diff --git a/tests/manual/cocoa/appicon/CMakeLists.txt b/tests/manual/cocoa/appicon/CMakeLists.txt index b027994db1..ed9c1b0c98 100644 --- a/tests/manual/cocoa/appicon/CMakeLists.txt +++ b/tests/manual/cocoa/appicon/CMakeLists.txt @@ -1,4 +1,5 @@ -# Generated from appicon.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause ##################################################################### ## appicon Binary: @@ -8,10 +9,7 @@ qt_internal_add_manual_test(appicon GUI SOURCES main.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Widgets ) - -#### Keys ignored in scope 1:.:.:appicon.pro:<TRUE>: -# TEMPLATE = "app" diff --git a/tests/manual/cocoa/appicon/main.cpp b/tests/manual/cocoa/appicon/main.cpp index ba398703b7..750f5e2f72 100644 --- a/tests/manual/cocoa/appicon/main.cpp +++ b/tests/manual/cocoa/appicon/main.cpp @@ -1,30 +1,5 @@ -/**************************************************************************** - ** - ** Copyright (C) 2016 The Qt Company Ltd. - ** Contact: https://www.qt.io/licensing/ - ** - ** This file is part of the test suite of the Qt Toolkit. - ** - ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ - ** Commercial License Usage - ** Licensees holding valid commercial Qt licenses may use this file in - ** accordance with the commercial license agreement provided with the - ** Software or, alternatively, in accordance with the terms contained in - ** a written agreement between you and The Qt Company. For licensing terms - ** and conditions see https://www.qt.io/terms-conditions. For further - ** information use the contact form at https://www.qt.io/contact-us. - ** - ** GNU General Public License Usage - ** Alternatively, this file may be used under the terms of the GNU - ** General Public License version 3 as published by the Free Software - ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT - ** included in the packaging of this file. Please review the following - ** information to ensure the GNU General Public License requirements will - ** be met: https://www.gnu.org/licenses/gpl-3.0.html. - ** - ** $QT_END_LICENSE$ - ** - ****************************************************************************/ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QApplication> #include <QPushButton> diff --git a/tests/manual/cocoa/menurama/CMakeLists.txt b/tests/manual/cocoa/menurama/CMakeLists.txt index 2d93198df8..3519fadcf9 100644 --- a/tests/manual/cocoa/menurama/CMakeLists.txt +++ b/tests/manual/cocoa/menurama/CMakeLists.txt @@ -1,4 +1,5 @@ -# Generated from menurama.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause ##################################################################### ## Menurama Binary: @@ -10,12 +11,11 @@ qt_internal_add_manual_test(Menurama main.cpp mainwindow.cpp mainwindow.h mainwindow.ui menuramaapplication.cpp menuramaapplication.h - PUBLIC_LIBRARIES + NO_PCH_SOURCES + menuramaapplication.cpp # undef QT_NO_FOREACH + LIBRARIES Qt::Gui Qt::Widgets ENABLE_AUTOGEN_TOOLS uic ) - -#### Keys ignored in scope 1:.:.:menurama.pro:<TRUE>: -# TEMPLATE = "app" diff --git a/tests/manual/cocoa/menurama/main.cpp b/tests/manual/cocoa/menurama/main.cpp index 4da4511884..9d3ea2fad5 100644 --- a/tests/manual/cocoa/menurama/main.cpp +++ b/tests/manual/cocoa/menurama/main.cpp @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include "mainwindow.h" #include "menuramaapplication.h" diff --git a/tests/manual/cocoa/menurama/mainwindow.cpp b/tests/manual/cocoa/menurama/mainwindow.cpp index 086fc1e2fa..2bd761374d 100644 --- a/tests/manual/cocoa/menurama/mainwindow.cpp +++ b/tests/manual/cocoa/menurama/mainwindow.cpp @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include "mainwindow.h" #include "ui_mainwindow.h" diff --git a/tests/manual/cocoa/menurama/mainwindow.h b/tests/manual/cocoa/menurama/mainwindow.h index e2af43e04e..bb8a2a3996 100644 --- a/tests/manual/cocoa/menurama/mainwindow.h +++ b/tests/manual/cocoa/menurama/mainwindow.h @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #ifndef MAINWINDOW_H #define MAINWINDOW_H diff --git a/tests/manual/cocoa/menurama/menuramaapplication.cpp b/tests/manual/cocoa/menurama/menuramaapplication.cpp index 1506fe7d19..43b6bd8ad4 100644 --- a/tests/manual/cocoa/menurama/menuramaapplication.cpp +++ b/tests/manual/cocoa/menurama/menuramaapplication.cpp @@ -1,30 +1,7 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +#undef QT_NO_FOREACH // this file contains unported legacy Q_FOREACH uses #include "menuramaapplication.h" diff --git a/tests/manual/cocoa/menurama/menuramaapplication.h b/tests/manual/cocoa/menurama/menuramaapplication.h index 2d836832fa..7670445024 100644 --- a/tests/manual/cocoa/menurama/menuramaapplication.h +++ b/tests/manual/cocoa/menurama/menuramaapplication.h @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #ifndef MENURAMAAPPLICATION_H #define MENURAMAAPPLICATION_H diff --git a/tests/manual/cocoa/menus/CMakeLists.txt b/tests/manual/cocoa/menus/CMakeLists.txt index 878a7ce998..84ce6604ce 100644 --- a/tests/manual/cocoa/menus/CMakeLists.txt +++ b/tests/manual/cocoa/menus/CMakeLists.txt @@ -1,4 +1,5 @@ -# Generated from menus.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause ##################################################################### ## menus Binary: @@ -7,10 +8,7 @@ qt_internal_add_manual_test(menus SOURCES main.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Widgets ) - -#### Keys ignored in scope 1:.:.:menus.pro:<TRUE>: -# TEMPLATE = "app" diff --git a/tests/manual/cocoa/menus/main.cpp b/tests/manual/cocoa/menus/main.cpp index a32d11f18b..f0da9a6ced 100644 --- a/tests/manual/cocoa/menus/main.cpp +++ b/tests/manual/cocoa/menus/main.cpp @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2012 KDAB -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2012 KDAB +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QMainWindow> #include <QMenu> diff --git a/tests/manual/cocoa/nativewidgets/CMakeLists.txt b/tests/manual/cocoa/nativewidgets/CMakeLists.txt index 342a99372b..59d965c89d 100644 --- a/tests/manual/cocoa/nativewidgets/CMakeLists.txt +++ b/tests/manual/cocoa/nativewidgets/CMakeLists.txt @@ -1,4 +1,5 @@ -# Generated from nativewigets.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause ##################################################################### ## nativewigets Binary: @@ -8,10 +9,7 @@ qt_internal_add_manual_test(nativewigets GUI SOURCES main.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Widgets ) - -#### Keys ignored in scope 1:.:.:nativewigets.pro:<TRUE>: -# TEMPLATE = "app" diff --git a/tests/manual/cocoa/nativewidgets/main.cpp b/tests/manual/cocoa/nativewidgets/main.cpp index 769bf8664a..cad8449069 100644 --- a/tests/manual/cocoa/nativewidgets/main.cpp +++ b/tests/manual/cocoa/nativewidgets/main.cpp @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QtCore> #include <QtWidgets> diff --git a/tests/manual/cocoa/popups/CMakeLists.txt b/tests/manual/cocoa/popups/CMakeLists.txt index ac48dec318..5d5217d1b4 100644 --- a/tests/manual/cocoa/popups/CMakeLists.txt +++ b/tests/manual/cocoa/popups/CMakeLists.txt @@ -1,4 +1,5 @@ -# Generated from popups.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause ##################################################################### ## popups Binary: @@ -7,7 +8,7 @@ qt_internal_add_manual_test(popups SOURCES main.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Widgets ) diff --git a/tests/manual/cocoa/popups/main.cpp b/tests/manual/cocoa/popups/main.cpp index 1eb2e8f2a6..7c28795cab 100644 --- a/tests/manual/cocoa/popups/main.cpp +++ b/tests/manual/cocoa/popups/main.cpp @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QtWidgets> diff --git a/tests/manual/cocoa/qsystemtrayicon/CMakeLists.txt b/tests/manual/cocoa/qsystemtrayicon/CMakeLists.txt index 37220922d0..59aaea4b34 100644 --- a/tests/manual/cocoa/qsystemtrayicon/CMakeLists.txt +++ b/tests/manual/cocoa/qsystemtrayicon/CMakeLists.txt @@ -1,4 +1,5 @@ -# Generated from qsystemtrayicon.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause ##################################################################### ## qsystemtrayicon Binary: @@ -10,7 +11,7 @@ qt_internal_add_manual_test(qsystemtrayicon main.cpp INCLUDE_DIRECTORIES . - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Widgets ) @@ -32,7 +33,3 @@ qt_internal_add_resource(qsystemtrayicon "icons" FILES ${icons_resource_files} ) - - -#### Keys ignored in scope 1:.:.:qsystemtrayicon.pro:<TRUE>: -# TEMPLATE = "app" diff --git a/tests/manual/cocoa/qsystemtrayicon/main.cpp b/tests/manual/cocoa/qsystemtrayicon/main.cpp index 52aa5efe56..0346398c10 100644 --- a/tests/manual/cocoa/qsystemtrayicon/main.cpp +++ b/tests/manual/cocoa/qsystemtrayicon/main.cpp @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QtWidgets> int main(int argc, char**argv) diff --git a/tests/manual/cocoa/qt_on_cocoa/CMakeLists.txt b/tests/manual/cocoa/qt_on_cocoa/CMakeLists.txt index 332fd8c9d7..8c6a5111d8 100644 --- a/tests/manual/cocoa/qt_on_cocoa/CMakeLists.txt +++ b/tests/manual/cocoa/qt_on_cocoa/CMakeLists.txt @@ -1,4 +1,5 @@ -# Generated from qt_on_cocoa.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause ##################################################################### ## qt_on_cocoa Binary: @@ -9,14 +10,9 @@ qt_internal_add_manual_test(qt_on_cocoa SOURCES main.mm rasterwindow.cpp rasterwindow.h - DEFINES - QT_DISABLE_DEPRECATED_BEFORE=0 - PUBLIC_LIBRARIES + LIBRARIES ${FWAppKit} Qt::Gui Qt::Quick Qt::Widgets ) - -#### Keys ignored in scope 1:.:.:qt_on_cocoa.pro:<TRUE>: -# TEMPLATE = "app" diff --git a/tests/manual/cocoa/qt_on_cocoa/main.mm b/tests/manual/cocoa/qt_on_cocoa/main.mm index e6218e48ac..7c48e5acbd 100644 --- a/tests/manual/cocoa/qt_on_cocoa/main.mm +++ b/tests/manual/cocoa/qt_on_cocoa/main.mm @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include "rasterwindow.h" diff --git a/tests/manual/cocoa/qt_on_cocoa/qt_on_cocoa.pro b/tests/manual/cocoa/qt_on_cocoa/qt_on_cocoa.pro index 91c4d2c875..8913558915 100644 --- a/tests/manual/cocoa/qt_on_cocoa/qt_on_cocoa.pro +++ b/tests/manual/cocoa/qt_on_cocoa/qt_on_cocoa.pro @@ -8,4 +8,3 @@ LIBS += -framework AppKit QT += gui widgets quick QT += quick -DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/manual/cocoa/qt_on_cocoa/rasterwindow.cpp b/tests/manual/cocoa/qt_on_cocoa/rasterwindow.cpp index 6d7cb3e305..af84b599f5 100644 --- a/tests/manual/cocoa/qt_on_cocoa/rasterwindow.cpp +++ b/tests/manual/cocoa/qt_on_cocoa/rasterwindow.cpp @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include "rasterwindow.h" diff --git a/tests/manual/cocoa/qt_on_cocoa/rasterwindow.h b/tests/manual/cocoa/qt_on_cocoa/rasterwindow.h index b8ef674994..a5260449be 100644 --- a/tests/manual/cocoa/qt_on_cocoa/rasterwindow.h +++ b/tests/manual/cocoa/qt_on_cocoa/rasterwindow.h @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QRasterWindow> #include <QImage> diff --git a/tests/manual/cocoa/textinput/Debug.keylayout b/tests/manual/cocoa/textinput/Debug.keylayout new file mode 100644 index 0000000000..bad7a4f641 --- /dev/null +++ b/tests/manual/cocoa/textinput/Debug.keylayout @@ -0,0 +1,1432 @@ +<?xml version="1.1" encoding="UTF-8"?> +<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> +<!--Created by Ukelele version 343 on 2021-08-15 at 12:01 (CEST)--> +<!--Last edited by Ukelele version 343 on 2021-08-16 at 11:57 (CEST)--> +<keyboard group="126" id="-22336" name="Debug" maxout="10"> + <layouts> + <layout first="0" last="17" mapSet="ANSI" modifiers="Modifiers"/> + <layout first="18" last="18" mapSet="JIS" modifiers="Modifiers"/> + <layout first="21" last="23" mapSet="JIS" modifiers="Modifiers"/> + <layout first="30" last="30" mapSet="JIS" modifiers="Modifiers"/> + <layout first="33" last="33" mapSet="JIS" modifiers="Modifiers"/> + <layout first="36" last="36" mapSet="JIS" modifiers="Modifiers"/> + <layout first="194" last="194" mapSet="JIS" modifiers="Modifiers"/> + <layout first="197" last="197" mapSet="JIS" modifiers="Modifiers"/> + <layout first="200" last="201" mapSet="JIS" modifiers="Modifiers"/> + <layout first="206" last="207" mapSet="JIS" modifiers="Modifiers"/> + </layouts> + <modifierMap id="Modifiers" defaultIndex="6"> + <keyMapSelect mapIndex="0"> + <modifier keys=""/> + </keyMapSelect> + <keyMapSelect mapIndex="1"> + <modifier keys="anyOption"/> + </keyMapSelect> + <keyMapSelect mapIndex="2"> + <modifier keys="anyShift"/> + </keyMapSelect> + <keyMapSelect mapIndex="3"> + <modifier keys="command"/> + </keyMapSelect> + <keyMapSelect mapIndex="4"> + <modifier keys="anyControl"/> + </keyMapSelect> + <keyMapSelect mapIndex="5"> + <modifier keys="caps"/> + </keyMapSelect> + <keyMapSelect mapIndex="6"> + <modifier keys="anyShift anyOption"/> + </keyMapSelect> + <keyMapSelect mapIndex="7"> + <modifier keys="anyOption command"/> + </keyMapSelect> + <keyMapSelect mapIndex="8"> + <modifier keys="anyOption anyControl"/> + </keyMapSelect> + <keyMapSelect mapIndex="9"> + <modifier keys="anyShift command"/> + </keyMapSelect> + <keyMapSelect mapIndex="10"> + <modifier keys="command anyControl"/> + </keyMapSelect> + <keyMapSelect mapIndex="11"> + <modifier keys="anyShift anyControl"/> + </keyMapSelect> + </modifierMap> + <keyMapSet id="ANSI"> + <keyMap index="0"> + <key code="0" action="Dead key without terminator"/> + <key code="1" action="Dead key with terminator"/> + <key code="2" action="Dead key with long terminator"/> + <key code="3" output="x"/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" action="a"/> + <!--Single letter with different letter for each modifier key, including compound modifiers--> + <key code="13" action="aa"/> + <key code="14" action="aaa"/> + <key code="15" action="aaaa"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output="x"/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" action="action"/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + <keyMap index="1"> + <key code="0" output=""/> + <key code="1" output=""/> + <key code="2" output=""/> + <key code="3" action="Dead key with modifier"/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" action="d"/> + <key code="13" action="dd"/> + <key code="14" action="ddd"/> + <key code="15" action="dddd"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output=""/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" output=""/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + <keyMap index="2"> + <key code="0" output=""/> + <key code="1" output=""/> + <key code="2" output=""/> + <key code="3" output=""/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" action="b 1"/> + <key code="13" output="bb"/> + <key code="14" output="bbb"/> + <key code="15" output="bbbb"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output=""/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" output=""/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + <keyMap index="3"> + <key code="0" output=""/> + <key code="1" output=""/> + <key code="2" output=""/> + <key code="3" output=""/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" output="e"/> + <key code="13" output="ee"/> + <key code="14" output="eee"/> + <key code="15" output="eeee"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output=""/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" output=""/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + <keyMap index="4"> + <key code="0" output=""/> + <key code="1" output=""/> + <key code="2" output=""/> + <key code="3" output=""/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" output="c"/> + <key code="13" output="cc"/> + <key code="14" output="ccc"/> + <key code="15" output="cccc"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output=""/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" output=""/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + <keyMap index="5"> + <key code="0" output=""/> + <key code="1" output=""/> + <key code="2" output=""/> + <key code="3" output=""/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" output="f"/> + <key code="13" output="ff"/> + <key code="14" output="fff"/> + <key code="15" output="ffff"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output=""/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" output=""/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + <keyMap index="6"> + <key code="0" output=""/> + <key code="1" output=""/> + <key code="2" output=""/> + <key code="3" output=""/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" output="h"/> + <key code="13" output="hh"/> + <key code="14" output="hhh"/> + <key code="15" output="hhhh"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output=""/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" output=""/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + <keyMap index="7"> + <key code="0" output=""/> + <key code="1" output=""/> + <key code="2" output=""/> + <key code="3" output=""/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" output="l"/> + <key code="13" output="ll"/> + <key code="14" output="lll"/> + <key code="15" output="llll"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output=""/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" output=""/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + <keyMap index="8"> + <key code="0" output=""/> + <key code="1" output=""/> + <key code="2" output=""/> + <key code="3" output=""/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" output="j"/> + <key code="13" output="jj"/> + <key code="14" output="jjj"/> + <key code="15" output="jjjj"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output=""/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" output=""/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + <keyMap index="9"> + <key code="0" output=""/> + <key code="1" output=""/> + <key code="2" output=""/> + <key code="3" output=""/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" output="i"/> + <key code="13" output="ii"/> + <key code="14" output="iii"/> + <key code="15" output="iiii"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output=""/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" output=""/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + <keyMap index="10"> + <key code="0" output=""/> + <key code="1" output=""/> + <key code="2" output=""/> + <key code="3" output=""/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" output="k"/> + <key code="13" output="kk"/> + <key code="14" output="kkk"/> + <key code="15" output="kkkk"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output=""/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" output=""/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + <keyMap index="11"> + <key code="0" output=""/> + <key code="1" output=""/> + <key code="2" output=""/> + <key code="3" output=""/> + <key code="4" output=""/> + <key code="5" output=""/> + <key code="6" output=""/> + <key code="7" output=""/> + <key code="8" output=""/> + <key code="9" output=""/> + <key code="11" output=""/> + <key code="12" output="g"/> + <key code="13" output="gg"/> + <key code="14" output="ggg"/> + <key code="15" output="gggg"/> + <key code="16" output=""/> + <key code="17" output=""/> + <key code="18" output=""/> + <key code="19" output=""/> + <key code="20" output=""/> + <key code="21" output=""/> + <key code="22" output=""/> + <key code="23" output=""/> + <key code="24" output=""/> + <key code="25" output=""/> + <key code="26" output=""/> + <key code="27" output=""/> + <key code="28" output=""/> + <key code="29" output=""/> + <key code="30" output=""/> + <key code="31" output=""/> + <key code="32" output=""/> + <key code="33" output=""/> + <key code="34" output=""/> + <key code="35" output=""/> + <key code="36" output="
"/> + <key code="37" output=""/> + <key code="38" output=""/> + <key code="39" output=""/> + <key code="40" output=""/> + <key code="41" output=""/> + <key code="42" output=""/> + <key code="43" output=""/> + <key code="44" output=""/> + <key code="45" output=""/> + <key code="46" output=""/> + <key code="47" output=""/> + <key code="48" output="	"/> + <key code="49" output=""/> + <key code="50" output=""/> + <key code="51" output=""/> + <key code="53" output=""/> + <key code="64" output=""/> + <key code="65" output=""/> + <key code="66" output=""/> + <key code="67" output=""/> + <key code="69" output=""/> + <key code="70" output=""/> + <key code="71" output=""/> + <key code="72" output=""/> + <key code="75" output=""/> + <key code="76" output=""/> + <key code="77" output=""/> + <key code="78" output=""/> + <key code="79" output=""/> + <key code="80" output=""/> + <key code="81" output=""/> + <key code="82" output=""/> + <key code="83" output=""/> + <key code="84" output=""/> + <key code="85" output=""/> + <key code="86" output=""/> + <key code="87" output=""/> + <key code="88" output=""/> + <key code="89" output=""/> + <key code="91" output=""/> + <key code="92" output=""/> + <key code="96" output=""/> + <key code="97" output=""/> + <key code="98" output=""/> + <key code="99" output=""/> + <key code="100" output=""/> + <key code="101" output=""/> + <key code="103" output=""/> + <key code="105" output=""/> + <key code="106" output=""/> + <key code="107" output=""/> + <key code="109" output=""/> + <key code="111" output=""/> + <key code="113" output=""/> + <key code="114" output=""/> + <key code="115" output=""/> + <key code="116" output=""/> + <key code="117" output=""/> + <key code="118" output=""/> + <key code="119" output=""/> + <key code="120" output=""/> + <key code="121" output=""/> + <key code="122" output=""/> + <key code="123" output=""/> + <key code="124" output=""/> + <key code="125" output=""/> + <key code="126" output=""/> + </keyMap> + </keyMapSet> + <keyMapSet id="JIS"> + <keyMap index="0" baseMapSet="ANSI" baseIndex="0"> + <key code="512" output=""/> + </keyMap> + <keyMap index="1" baseMapSet="ANSI" baseIndex="1"> + <key code="512" output=""/> + </keyMap> + <keyMap index="2" baseMapSet="ANSI" baseIndex="2"> + <key code="512" output=""/> + </keyMap> + <keyMap index="3" baseMapSet="ANSI" baseIndex="3"> + <key code="512" output=""/> + </keyMap> + <keyMap index="4" baseMapSet="ANSI" baseIndex="4"> + <key code="512" output=""/> + </keyMap> + <keyMap index="5" baseMapSet="ANSI" baseIndex="5"> + <key code="512" output=""/> + </keyMap> + <keyMap index="6" baseMapSet="ANSI" baseIndex="6"> + <key code="512" output=""/> + </keyMap> + <keyMap index="7" baseMapSet="ANSI" baseIndex="7"> + <key code="512" output=""/> + </keyMap> + <keyMap index="8" baseMapSet="ANSI" baseIndex="8"> + <key code="512" output=""/> + </keyMap> + <keyMap index="9" baseMapSet="ANSI" baseIndex="9"> + <key code="512" output=""/> + </keyMap> + <keyMap index="10" baseMapSet="ANSI" baseIndex="10"> + <key code="512" output=""/> + </keyMap> + <keyMap index="11" baseMapSet="ANSI" baseIndex="11"> + <key code="512" output=""/> + </keyMap> + </keyMapSet> + <actions> + <action id="Dead key with long terminator"> + <when state="none" next="Dead key with long terminator"/> + </action> + <action id="Dead key with modifier"> + <when state="none" next="Dead key with modifier"/> + </action> + <action id="Dead key with terminator"> + <when state="none" next="Dead key with terminator"/> + </action> + <action id="Dead key without terminator"> + <when state="none" next="Dead key without terminator"/> + </action> + <action id="a"> + <when state="none" output="a"/> + <when state="Dead key with long terminator" output="ã"/> + <when state="Dead key with modifier" output="A"/> + <when state="Dead key with terminator" output="â"/> + <when state="Dead key without terminator" output="ä"/> + </action> + <action id="aa"> + <when state="none" output="aa"/> + <when state="Dead key with long terminator" output="ãã"/> + <when state="Dead key with modifier" output="AA"/> + <when state="Dead key with terminator" output="ââ"/> + <when state="Dead key without terminator" output="ää"/> + </action> + <action id="aaa"> + <when state="none" output="aaa"/> + <when state="Dead key with long terminator" output="ããã"/> + <when state="Dead key with modifier" output="AAA"/> + <when state="Dead key with terminator" output="âââ"/> + <when state="Dead key without terminator" output="äää"/> + </action> + <action id="aaaa"> + <when state="none" output="aaaa"/> + <when state="Dead key with long terminator" output="ãããã"/> + <when state="Dead key with modifier" output="AAAA"/> + <when state="Dead key with terminator" output="ââââ"/> + <when state="Dead key without terminator" output="ääää"/> + </action> + <action id="action"> + <when state="none" output=""/> + <when state="Dead key with long terminator" output="space"/> + </action> + <action id="b"> + <when state="none" output="b"/> + <when state="Dead key without terminator" output="ë"/> + </action> + <action id="b 1"> + <when state="none" output="b"/> + </action> + <action id="d"> + <when state="none" output="d"/> + <when state="Dead key with modifier" output="D"/> + </action> + <action id="dd"> + <when state="none" output="dd"/> + <when state="Dead key with modifier" output="DD"/> + </action> + <action id="ddd"> + <when state="none" output="ddd"/> + <when state="Dead key with modifier" output="DDD"/> + </action> + <action id="dddd"> + <when state="none" output="dddd"/> + <when state="Dead key with modifier" output="DDDD"/> + </action> + </actions> + <terminators> + <when state="Dead key with long terminator" output="terminator"/> + <when state="Dead key with modifier" output="y"/> + <when state="Dead key with terminator" output="^"/> + <when state="Dead key without terminator" output=""/> + </terminators> +</keyboard> diff --git a/tests/manual/cocoa/textinput/README b/tests/manual/cocoa/textinput/README new file mode 100644 index 0000000000..628e4686a0 --- /dev/null +++ b/tests/manual/cocoa/textinput/README @@ -0,0 +1,14 @@ +# Debug keyboard layout + +The keyboard layout in this directory can be enabled by +copying it to "~/Library/Keyboard Layouts/" and adding it +it as an input source in the macOS keyboard preferences. + +The layout was created in Ukulele and tries to cover many +corner cases of keyboard input related to e.g. modifier +and dead key states. + +# Useful tools + + - https://software.sil.org/ukelele/ + - https://manytricks.com/keycodes/ diff --git a/tests/manual/cocoa/wheelevent/CMakeLists.txt b/tests/manual/cocoa/wheelevent/CMakeLists.txt index e52da47db1..4bdb89cf89 100644 --- a/tests/manual/cocoa/wheelevent/CMakeLists.txt +++ b/tests/manual/cocoa/wheelevent/CMakeLists.txt @@ -1,4 +1,5 @@ -# Generated from wheelevent.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause ##################################################################### ## wheelevent Binary: @@ -9,12 +10,9 @@ qt_internal_add_manual_test(wheelevent SOURCES main.cpp window.cpp window.h - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate Qt::Widgets ) - -#### Keys ignored in scope 1:.:.:wheelevent.pro:<TRUE>: -# TEMPLATE = "app" diff --git a/tests/manual/cocoa/wheelevent/main.cpp b/tests/manual/cocoa/wheelevent/main.cpp index aae4812793..9d302c1d9a 100644 --- a/tests/manual/cocoa/wheelevent/main.cpp +++ b/tests/manual/cocoa/wheelevent/main.cpp @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QtCore> #include <QtWidgets> diff --git a/tests/manual/cocoa/wheelevent/window.cpp b/tests/manual/cocoa/wheelevent/window.cpp index 9df7313b62..cd3f1f04ac 100644 --- a/tests/manual/cocoa/wheelevent/window.cpp +++ b/tests/manual/cocoa/wheelevent/window.cpp @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include "window.h" diff --git a/tests/manual/cocoa/wheelevent/window.h b/tests/manual/cocoa/wheelevent/window.h index 42a6b4a1aa..e85f70fefc 100644 --- a/tests/manual/cocoa/wheelevent/window.h +++ b/tests/manual/cocoa/wheelevent/window.h @@ -1,30 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QWindow> #include <QImage> |