Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. HighDPI and Qt Designer
Forum Update on Tuesday, May 27th 2025

HighDPI and Qt Designer

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt designerhigh dpilayoutdialogs
4 Posts 3 Posters 2.8k Views 2 Watching
  • 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.
  • W Offline
    W Offline
    witekt
    wrote on 13 Jan 2016, 12:17 last edited by
    #1

    I am using Qt designer for creating dialogs in my application. Everything looks fine on normal display but on 4K with 200% in Windows DPI setting dialogs and elements are too small. I expect that when I set layout margins to 6 to have it 12, when I add spacer on 40 pixels it would be 80 and when I set 400x300 dialog size it would be 800x600. Same for minimum/maximum size, etc. Is there a way to achieve such results with current Qt version (I am using 5.5.1)?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 13 Jan 2016, 13:30 last edited by
      #2

      Hi
      On Windows, there is no scaling. you must handle it your self as far as I know.
      http://doc.qt.io/qt-5/highdpi.html

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Chris Kawa
        Lifetime Qt Champion
        wrote on 13 Jan 2016, 14:21 last edited by
        #3

        Better (although still not perfect on Windows) support for HighDPI comes in Qt 5.6. Here's a short description from the mailing list post.

        1 Reply Last reply
        0
        • W Offline
          W Offline
          witekt
          wrote on 14 Jan 2016, 08:18 last edited by
          #4

          Thanks, I'll wait for 5.6 then.

          1 Reply Last reply
          0

          1/4

          13 Jan 2016, 12:17

          • Login

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