qt6-bb10/src
Jocelyn Turcotte dd52fd0024 Ensure a pixel density of at least 1 for Qt::AA_EnableHighDpiScaling
Very large 1080p TVs or any display which is running at an abnormally
low resolution can have a DPI lower than 48, which means that
qRound(dpi/96) will result in a 0 pixel density, causing critical
issues for applications using Qt::AA_EnableHighDpiScaling.

Make sure that we always have a pixel density of at least 1 to allow
applications not having to worry about such displays.

Task-number: QTBUG-56140
Change-Id: I1dafbf7794a99ae6f872984c0337d8ff0d1fc1c0
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2017-01-23 18:42:26 +00:00
..
3rdparty fix parallel builds with -qt-freetype -system-libpng 2017-01-19 21:47:59 +00:00
android Optimize QtActivity's onCreate a little bit 2016-12-25 04:14:58 +00:00
angle Fix unneeded recompiles of glslang_tab.cpp 2017-01-16 15:20:27 +00:00
concurrent QtConcurrent: Add missing override 2016-11-29 20:37:54 +00:00
corelib Doc: do not break the values list by blank lines in qnamespace.qdoc 2017-01-23 11:47:57 +00:00
dbus Merge remote-tracking branch 'origin/5.8.0' into 5.8 2017-01-14 22:02:55 +01:00
gui Fix license header of QInputControl 2017-01-23 16:03:31 +00:00
network QLocalSocket/Win: Fix access to deleted pipeWriter 2017-01-23 11:40:26 +00:00
opengl Add missing override into Qt modules 2016-12-01 12:07:13 +00:00
openglextensions Also release winmain, qopenglextensions under commercial licenses 2016-11-18 16:19:56 +00:00
platformheaders Doc: corrected qdoc syntax parameter description 2017-01-09 15:30:17 +00:00
platformsupport QDBusTrayIcon: always save the temp icon in Unity 2017-01-19 18:44:27 +00:00
plugins Ensure a pixel density of at least 1 for Qt::AA_EnableHighDpiScaling 2017-01-23 18:42:26 +00:00
printsupport Merge remote-tracking branch 'origin/5.8.0' into 5.8 2017-01-14 22:02:55 +01:00
sql configure: make library sources fail more verbosely 2016-12-30 10:25:38 +00:00
testlib Merge remote-tracking branch 'origin/5.8.0' into 5.8 2017-01-14 22:02:55 +01:00
tools Silence implicit-fallthough warnings 2016-12-19 09:35:57 +00:00
widgets QMacNativeWidget: Remove Carbon reference from documentation 2017-01-23 18:30:03 +00:00
winmain Also release winmain, qopenglextensions under commercial licenses 2016-11-18 16:19:56 +00:00
xml QXmlAttributes: mark as shared-come-qt6 2016-10-04 06:25:54 +00:00
src.pro Add a feature for Qt Xml 2017-01-06 17:19:13 +00:00