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. Low Resolution Qt when moving from low dpi to high dpi display
Forum Updated to NodeBB v4.3 + New Features

Low Resolution Qt when moving from low dpi to high dpi display

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 885 Views 1 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.
  • E Offline
    E Offline
    evankirkiles
    wrote on last edited by
    #1

    I do most of my development on my iMac in Qt whose monitor doesn't have that great of a resolution. However, I also have a high DPI MacBook pro which I also use every once in a while. Recently, I figured out how to use CPack to make my project redistributable and it works for the most part (have plugins and dynamic linking and everything). However, when I build the dmg on my iMac and then move it over to my MacBook pro, the resolution stays low despite me enabling high dpi scaling and high dpi pixmaps for the QApplication. Not only that, but for some reason the project itself does not build through the compiler in the higher resolution it used to on my MacBook (while pushing from my iMac to Git and then pulling to my MacBook). A screenshot of the resolution difference on my MacBook Pro is below. Upon further inspection, the application seems to switch back and forth, while running, between sharp pixel edges and blurred edges (but still not what I want)

    0_1535672192312_Screen Shot 2018-08-30 at 7.22.35 PM.png

    My question is, is there some setting in a file that is limiting the rendering capabilities of my application on my MacBook? Again, I enabled high dpi scaling and high dpi pixmaps but I'm pretty lost on what else to try. Even when I edit the device pixel ratio it seems like the application is still using the iMac resolution despite having many more pixels to draw in to.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      I guess you already did but did you check the High DPI chapter in Qt Documentation ?

      What version of Qt are you using ?

      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
      0
      • E Offline
        E Offline
        evankirkiles
        wrote on last edited by
        #3

        Yeah I looked around in the High DPI, but didn't find anything useful. I'm on Qt 5.11.1 on both computers. A possible solution I could see is to just build my applications on my MacBook, but I'd like to understand what exactly is the problem here. Even when running the code not built on the iMac but rather pulled from Git on my MacBook, it still uses the low resolution version. I'm going to make a new project (which hopefully won't be automatically low resolution) on my MacBook and completely move my application piece by piece into it.

        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