Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Desktop app: Best practice for HighDPI scaling

QML Desktop app: Best practice for HighDPI scaling

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 199 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maxwell31
    wrote on last edited by
    #1

    Hi,

    I have seen the documentation about HighDPI displays. https://doc.qt.io/qt-5/highdpi.html Still, I don't know what is the best practice for designing a desktop application which would run on a 4k monitor as well as on a normal monitor. Can I simply design the application at one resolution, use Qt::AA_EnableHighDpiScaling and hope that everything works (in this case, should I use font.pixelSize or font.pointSize)? Or should one follow the approach outlined here: https://doc.qt.io/qt-5/scalability.html ?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved