summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel/kernel.pro
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-07-31 10:23:39 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-08-01 13:20:23 +0200
commit174061f9f32ac76c6b8a6d155d772e37708d8cfc (patch)
tree44845c0ef7b52dee6e524ce86fa3554ed560ece6 /tests/auto/gui/kernel/kernel.pro
parent3d7bd7ad19254bb1c4794349e71501e58c91891e (diff)
QHighDPI: Fix broken scaling of QPoint(F)
For some reason, the overload resolution of the High DPI scale() functions introduced by b6ded193ee64ffe67df6d22e7a23aa1ea9e02ec7 chose the wrong overloads for QPointF and/or QPoint; it fell back to the generic template intended for qreal, QSize, etc, ignoring the origin. Remove the template and spell out all overloads. Fixes: QTBUG-77255 Change-Id: I5661f16f7326f65156f646f430f5a0c71d5302d2 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/gui/kernel/kernel.pro')
-rw-r--r--tests/auto/gui/kernel/kernel.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/kernel.pro b/tests/auto/gui/kernel/kernel.pro
index fbd3b1b371..42135dae24 100644
--- a/tests/auto/gui/kernel/kernel.pro
+++ b/tests/auto/gui/kernel/kernel.pro
@@ -11,6 +11,7 @@ SUBDIRS=\
qguimetatype \
qguitimer \
qguivariant \
+ qhighdpiscaling \
qinputmethod \
qkeyevent \
qkeysequence \
@@ -35,6 +36,8 @@ win32:!winrt:qtHaveModule(network): SUBDIRS += noqteventloop
!qtHaveModule(network): SUBDIRS -= \
qguieventloop
+!qtConfig(highdpiscaling): SUBDIRS -= qhighdpiscaling
+
!qtConfig(opengl): SUBDIRS -= qopenglwindow
android|uikit: SUBDIRS -= qclipboard