Results 1 to 3 of 3

Thread: Using high res QIcons for OSX with retina display

  1. #1
    Join Date
    Jan 2010
    Posts
    9
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Using high res QIcons for OSX with retina display

    I have an application that i want to make use high res icons on the new Macbooks with retina display.

    Making qt use high res fonts can be done by adding the following
    Qt Code:
    1. <key>NSHighResolutionCapable</key>
    2. <true/>
    To copy to clipboard, switch view to plain text mode 
    to the application bundle's Info.plist file.


    But how do get highres images ?
    I'm using Qt 4.7.4 buildt with gcc for the MacOSX10.6.sdk

    Even if i add really high res icons (double resolution) Qt seems to scale them down similarly to how it would if on a non-retina display.
    Are there any flags i need to set? Or is this not yet availiable through Qt ?

  2. #2

    Default Re: Using high res QIcons for OSX with retina display

    Hi, short story is we're working on it.

    If you want to be a tester you can apply these changes which should fix the tool button case:

    https://codereview.qt-project.org/#change,32908
    https://codereview.qt-project.org/#change,32917

    - Morten

  3. #3
    Join Date
    Jan 2010
    Posts
    9
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Using high res QIcons for OSX with retina display

    Thats great news!

    Thanks for replying here

Similar Threads

  1. Where are the QIcons in QPushButton
    By tescrin in forum Qt Programming
    Replies: 5
    Last Post: 23rd July 2012, 17:15
  2. Qt Creator on MacBook Pro Retina
    By Sanuden in forum Qt Tools
    Replies: 2
    Last Post: 23rd July 2012, 01:25
  3. My mode to displaying QIcons
    By Borland in forum Qt Programming
    Replies: 13
    Last Post: 18th March 2012, 19:11
  4. QVariant - storing QIcons[]
    By moowy in forum Qt Programming
    Replies: 7
    Last Post: 25th August 2006, 01:41
  5. QIcons
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 16th August 2006, 14:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.