Description
Mention High-DPI on WebEngine documentation, and recommend to set
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling)
before creating Q*Application.
THis is actually recommended for all applications (see http://doc.qt.io/qt-5/highdpi.html). For WebEngineView specifically, it makes sure that the default scaling factor of pages is reasonable.
Attachments
Issue Links
- resulted from
-
QTBUG-53449 In the high resolution, webengine can't auto adjust size of web pages
-
- Closed
-
For Gerrit Dashboard: QTBUG-54114 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
162579,5 | Doc: Explain how to support High DPI devices in applications | 5.6 | qt/qtwebengine | Status: MERGED | +2 | 0 |