High dpi Qt
summary
Qt adds a second coordinate system — device independent pixels vs device pixels — and implements a device pixel ratio mode in Qt 5.6 so apps can run unchanged while UI, fonts and vector graphics render at display resolution. Three enable paths: OS-provided (macOS/iOS/Wayland), environment-driven auto-scaling (QT_AUTO_SCREEN_SCALE_FACTOR) or a global developer scale factor for testing. Demo shows integer scale factors (2×, 3×, 1.5×) work, raster assets need 2x/64×64 style variants or QIcon/QPixmap selection to avoid blurriness.
AI-written summary · about
chapters (9)
- 0:00Introduction to High DPI
- 1:05About the speaker
- 2:50Classical DPI handling issues
- 5:20Device pixel ratio mode explained
- 11:10Enabling High DPI in Qt
- 14:18Live demo of scaling
- 19:25Tips for adapting app code
- 25:58Summary and call to action
- 26:27Q&A session
related talks
52mAccelerating Qt WebKit Applications
58mQt 6 will bring massive improvements to QML and 3D development
27mCompanion apps and more second screen options with Qt
28mSupport multiple screens with webOS and Qt
44mDesigning for @1x – @3x Without Going Crazy
58mHybrid development with QtWebKit
25mNative Desktop: Styling Support for QtQuick Controls 2
07mKWin Effects The Next Generation
