qt5base-lts/tests/auto/gui/kernel/kernel.pro
Friedemann Kleint 174061f9f3 QHighDPI: Fix broken scaling of QPoint(F)
For some reason, the overload resolution of the
High DPI scale() functions introduced by
b6ded193ee 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>
2019-08-01 13:20:23 +02:00

44 lines
807 B
Prolog

TEMPLATE=subdirs
SUBDIRS=\
qbackingstore \
qclipboard \
qcursor \
qdrag \
qevent \
qfileopenevent \
qguieventdispatcher \
qguieventloop \
qguimetatype \
qguitimer \
qguivariant \
qhighdpiscaling \
qinputmethod \
qkeyevent \
qkeysequence \
qmouseevent \
qmouseevent_modal \
qpalette \
qscreen \
qsurfaceformat \
qtouchevent \
qwindow \
qguiapplication \
qpixelformat \
qopenglwindow \
qrasterwindow
win32:!winrt:qtHaveModule(network): SUBDIRS += noqteventloop
!qtHaveModule(widgets): SUBDIRS -= \
qmouseevent_modal \
qtouchevent
!qtHaveModule(network): SUBDIRS -= \
qguieventloop
!qtConfig(highdpiscaling): SUBDIRS -= qhighdpiscaling
!qtConfig(opengl): SUBDIRS -= qopenglwindow
android|uikit: SUBDIRS -= qclipboard