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. qt4.8.6 with mac10.10-Qt applications are blurry on Retina
Forum Updated to NodeBB v4.3 + New Features

qt4.8.6 with mac10.10-Qt applications are blurry on Retina

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 934 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.
  • vilasV Offline
    vilasV Offline
    vilas
    wrote on last edited by
    #1

    hi ,all!
    my applications using Qt4.8.6 are not rendering correctly on a MacBookPro with Retina screen.

    After patch for qt4.8.6, the problem is still exsists. here is the patch, https://codereview.qt-project.org/#/c/54636/

    1 Reply Last reply
    0
    • vilasV Offline
      vilasV Offline
      vilas
      wrote on last edited by
      #2

      i have fixed the info.plist of the qt application like so :
      <key>NSPrincipalClass</key>
      <string>NSApplication</string>
      <key>NSHighResolutionCapable</key>
      <true/>

      Does someone have same problem? Thanks for your help!!

      1 Reply Last reply
      0
      • mmirskyM Offline
        mmirskyM Offline
        mmirsky
        wrote on last edited by
        #3

        I recently did this with Qt5.4.1. I know Qt added a lot of high-resolution support in 5.4, and I'm not sure if this included changes for macosx. So, my experience may not match yours.

        I had to add similar keys to my Info.plist

        <key>NSPrincipalClass</key>
        <string>NSApplication</string>
        <key>NSHighResolutionCapable</key>
        <string>True</string>
        

        IIRC, simply modifying the keys after the fact didn't work in my case (I think some type of caching occurs - see 5th comment as a reference). I had to rebuild my app with the new Info.plist before changes took place.

        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