forked from qt/qtbase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Add project files of highdpi both for qmake and cmake
Pick-to: 6.4 6.2 Change-Id: I5525536674a64ccd14106dc6727b5578c0ab7f16 Reviewed-by: Tor Arne Vestbø <[email protected]>
- Loading branch information
Showing
7 changed files
with
51 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Generated from highdpi.pro. | ||
|
||
add_subdirectory(dprgadget) | ||
add_subdirectory(kitchensink) | ||
add_subdirectory(pixelgadget) | ||
add_subdirectory(screengadget) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,14 @@ | ||
# Copyright (C) 2022 The Qt Company Ltd. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
# special case skip regeneration | ||
cmake_minimum_required(VERSION 3.16) | ||
project(dprgadget LANGUAGES CXX) | ||
set(CMAKE_AUTOMOC ON) | ||
|
||
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) | ||
|
||
qt_add_executable(dprgadget | ||
main.cpp | ||
# Generated from dprgadget.pro. | ||
|
||
##################################################################### | ||
## dprgadget Binary: | ||
##################################################################### | ||
|
||
qt_internal_add_manual_test(dprgadget | ||
SOURCES | ||
main.cpp | ||
PUBLIC_LIBRARIES | ||
Qt::Gui | ||
Qt::Widgets | ||
Qt::GuiPrivate | ||
) | ||
|
||
target_link_libraries(dprgadget PUBLIC | ||
Qt::Core | ||
Qt::Gui | ||
Qt::GuiPrivate | ||
Qt::Widgets | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TEMPLATE = subdirs | ||
|
||
SUBDIRS = dprgadget kitchensink pixelgadget screengadget |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
# Copyright (C) 2022 The Qt Company Ltd. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
# special case skip regeneration | ||
cmake_minimum_required(VERSION 3.16) | ||
project(pixelgadget LANGUAGES CXX) | ||
set(CMAKE_AUTOMOC ON) | ||
|
||
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) | ||
|
||
qt_add_executable(pixelgadget | ||
main.cpp | ||
# Generated from pixelgadget.pro. | ||
|
||
##################################################################### | ||
## pixelgadget Binary: | ||
##################################################################### | ||
|
||
qt_internal_add_manual_test(pixelgadget | ||
GUI | ||
SOURCES | ||
main.cpp | ||
PUBLIC_LIBRARIES | ||
Qt::Gui | ||
Qt::Widgets | ||
) | ||
|
||
target_link_libraries(pixelgadget PUBLIC | ||
Qt::Core | ||
Qt::Gui | ||
Qt::Widgets | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
# Copyright (C) 2022 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) | ||
|
||
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) | ||
|
||
qt_add_executable(screengadget | ||
main.cpp | ||
# Generated from screengadget.pro. | ||
|
||
##################################################################### | ||
## screengadget Binary: | ||
##################################################################### | ||
|
||
qt_internal_add_manual_test(screengadget | ||
GUI | ||
SOURCES | ||
main.cpp | ||
PUBLIC_LIBRARIES | ||
Qt::Gui | ||
Qt::Widgets | ||
Qt::GuiPrivate | ||
) | ||
|
||
target_link_libraries(screengadget PUBLIC | ||
Qt::Core | ||
Qt::Gui | ||
Qt::GuiPrivate | ||
Qt::Widgets | ||
) | ||
|