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. Qt Built Software Device Resolution Inquiry
Forum Updated to NodeBB v4.3 + New Features

Qt Built Software Device Resolution Inquiry

Scheduled Pinned Locked Moved Unsolved General and Desktop
pixeldeviceresolutiondpiscale
6 Posts 3 Posters 2.4k 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.
  • J Offline
    J Offline
    JVR Orane
    wrote on 24 Aug 2016, 15:06 last edited by JVR Orane
    #1

    How can we get Qt to scale the software being built accordingly to the respected dpi per display resolution screen (ex from a 1080 to a 4k ), on Windows OS? unsure of where to find the options to be changed on the windows to enable it to scale when being run on different user screen resolutions.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 24 Aug 2016, 21:18 last edited by
      #2

      Hi and welcome to devnet,

      Are you asking for something like a compile time flag ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 24 Aug 2016, 21:26 last edited by
        #3

        Hi
        Do you mean something like this ?
        http://doc.qt.io/qt-5/highdpi.html

        (if not compile time)

        1 Reply Last reply
        1
        • J Offline
          J Offline
          JVR Orane
          wrote on 24 Aug 2016, 21:40 last edited by
          #4

          @mrjj not exactly. What i'm asking is if there is a way to specify a virtual resolution and virtual dpi so i can see what my application will look like on a 4k screen even though the resolution of my screen is 1080p.

          M 1 Reply Last reply 24 Aug 2016, 21:44
          0
          • J JVR Orane
            24 Aug 2016, 21:40

            @mrjj not exactly. What i'm asking is if there is a way to specify a virtual resolution and virtual dpi so i can see what my application will look like on a 4k screen even though the resolution of my screen is 1080p.

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 24 Aug 2016, 21:44 last edited by
            #5

            @JVR-Orane
            ahh. as far as i know , not really.
            You could adjust QT_SCALE_FACTOR , but its not really what you are after.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              JVR Orane
              wrote on 24 Aug 2016, 22:08 last edited by
              #6

              @mrjj yeah its not, but thanks though

              1 Reply Last reply
              0

              2/6

              24 Aug 2016, 21:18

              topic:navigator.unread, 4
              • Login

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