d023da8639
Use the new screen config feature of the offscreen platform plugin to run tests on virtual screen setup. This has the benefit that we can auto-test the QHighDpiScaling implementation (as well as its usage in QtGui) on any platform with a fixed mock screen setup which does not rely on physical screen configuration. Test the following configurations: - three screens: 96 DPI. (reference) - three screens: 192 DPI - three screens: mixed (high) DPI Change-Id: I2fac889d896cf30ab2a79c306cee22177ad8f4ac Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
15 lines
352 B
CMake
15 lines
352 B
CMake
# Generated from qhighdpi.pro.
|
|
|
|
#####################################################################
|
|
## tst_qhighdpi Test:
|
|
#####################################################################
|
|
|
|
qt_internal_add_test(tst_qhighdpi
|
|
SOURCES
|
|
tst_qhighdpi.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::CorePrivate
|
|
Qt::Gui
|
|
Qt::GuiPrivate
|
|
)
|