qt5base-lts/tests/manual/highdpi/dprgadget/CMakeLists.txt
Morten Johan Sørvig 30e776fb1b Say hello to DprGadget
DprGadget displays the devicePixelRatio for the current
screen using a large friendly font, as well as the
platform and environment inputs used for determining
the DPR.

Change-Id: Id619edad181eb7717f18eb98af341d6582a843a1
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2020-09-18 16:07:20 +02:00

19 lines
329 B
CMake

cmake_minimum_required(VERSION 3.14)
project(dprgadget LANGUAGES CXX)
set(CMAKE_AUTOMOC ON)
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Widgets)
add_qt_gui_executable(dprgadget
main.cpp
)
target_link_libraries(dprgadget PUBLIC
Qt::Core
Qt::Gui
Qt::Widgets
)