diff options
Diffstat (limited to 'tests/manual/highdpi/screengadget')
-rw-r--r-- | tests/manual/highdpi/screengadget/CMakeLists.txt | 29 | ||||
-rw-r--r-- | tests/manual/highdpi/screengadget/main.cpp | 2 |
2 files changed, 13 insertions, 18 deletions
diff --git a/tests/manual/highdpi/screengadget/CMakeLists.txt b/tests/manual/highdpi/screengadget/CMakeLists.txt index 67b6e6720f..f4a7aad306 100644 --- a/tests/manual/highdpi/screengadget/CMakeLists.txt +++ b/tests/manual/highdpi/screengadget/CMakeLists.txt @@ -1,21 +1,16 @@ -# Copyright (C) 2022 The Qt Company Ltd. +# Copyright (C) 2024 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# special case skip regeneration -cmake_minimum_required(VERSION 3.16) -project(screengadget LANGUAGES CXX) -set(CMAKE_AUTOMOC ON) +##################################################################### +## screengadget Binary: +##################################################################### -find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) - -qt_add_executable(screengadget - main.cpp -) - -target_link_libraries(screengadget PUBLIC - Qt::Core - Qt::Gui - Qt::GuiPrivate - Qt::Widgets +qt_internal_add_manual_test(screengadget + GUI + SOURCES + main.cpp + LIBRARIES + Qt::Gui + Qt::Widgets + Qt::GuiPrivate ) - diff --git a/tests/manual/highdpi/screengadget/main.cpp b/tests/manual/highdpi/screengadget/main.cpp index fdd940724f..68343a31c5 100644 --- a/tests/manual/highdpi/screengadget/main.cpp +++ b/tests/manual/highdpi/screengadget/main.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2021 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QtGui> #include <QtWidgets> |