summaryrefslogtreecommitdiff
path: root/tests/auto/qicon_svg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qicon_svg')
-rw-r--r--tests/auto/qicon_svg/CMakeLists.txt8
-rw-r--r--tests/auto/qicon_svg/tst_qicon_svg.cpp29
-rw-r--r--tests/auto/qicon_svg/tst_qicon_svg.qrc10
3 files changed, 7 insertions, 40 deletions
diff --git a/tests/auto/qicon_svg/CMakeLists.txt b/tests/auto/qicon_svg/CMakeLists.txt
index 8c3fb88..3122816 100644
--- a/tests/auto/qicon_svg/CMakeLists.txt
+++ b/tests/auto/qicon_svg/CMakeLists.txt
@@ -1,4 +1,5 @@
-# Generated from qicon_svg.pro.
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## tst_qicon_svg Test:
@@ -11,10 +12,10 @@ file(GLOB_RECURSE test_data_glob
list(APPEND test_data ${test_data_glob})
qt_internal_add_test(tst_qicon_svg
- LOWDPI # special case
+ LOWDPI
SOURCES
tst_qicon_svg.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
Qt::GuiPrivate
Qt::Svg
@@ -29,6 +30,7 @@ set(tst_qicon_svg_resource_files
"./icons/rect.svg"
"./icons/rect_size_100percent.svg"
"./icons/trash.svg"
+ "./icons/triangle.svg"
)
qt_internal_add_resource(tst_qicon_svg "tst_qicon_svg"
diff --git a/tests/auto/qicon_svg/tst_qicon_svg.cpp b/tests/auto/qicon_svg/tst_qicon_svg.cpp
index 6eea018..36addcd 100644
--- a/tests/auto/qicon_svg/tst_qicon_svg.cpp
+++ b/tests/auto/qicon_svg/tst_qicon_svg.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 WITH Qt-GPL-exception-1.0
#include <QtTest/QtTest>
diff --git a/tests/auto/qicon_svg/tst_qicon_svg.qrc b/tests/auto/qicon_svg/tst_qicon_svg.qrc
deleted file mode 100644
index 302b40b..0000000
--- a/tests/auto/qicon_svg/tst_qicon_svg.qrc
+++ /dev/null
@@ -1,10 +0,0 @@
-<!DOCTYPE RCC><RCC version="1.0">
-<qresource prefix="/">
-<file>./icons/heart.svg</file>
-<file>./icons/heart.svgz</file>
-<file>./icons/image.png</file>
-<file>./icons/rect.svg</file>
-<file>./icons/trash.svg</file>
-<file>./icons/rect_size_100percent.svg</file>
-</qresource>
-</RCC>