Changes between Initial Version and Version 1 of Ticket #36410, comment 5


Ignore:
Timestamp:
Mar 6, 2013, 2:08:39 AM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36410, comment 5

    initial v1  
    11This can in fact be fixed (mostly, not icons and stuff) on the macports side. I did it on my wifes macbook pro after a bunch of reading on digia's webpage. The problem is that the .app Info.plist must contain the following lines under the <dict> tag:
    22
     3{{{
    34        <key>NSPrincipalClass</key>
    4 
    55        <string>NSApplication</string>
    6 
    76        <key>NSHighResolutionCapable</key>
    8 
    97        <true/>
     8}}}
    109
    1110It is possible to add these in an existing .app dir and then make a copy (triggering mac os to do some caching I'm guessing) in order to fix these. I fixed it for spyder by opening the /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/Info.plist, adding the lintes
     
    1312like so (a little context included):
    1413
     14{{{
    1515<dict>(context)
    16 
    1716        <key>NSPrincipalClass</key>
    18 
    1917        <string>NSApplication</string>
    20 
    2118        <key>NSHighResolutionCapable</key>
    22 
    2319       <true/>
    24 
    2520       <key>CFBundleDevelopmentRegion</key>(context)
    26 
     21}}}
    2722
    2823making a copy (in the finder by dragging, don't know if cp -r will work) and then renaming the original to python.app to python.app.old in the finder and renaming the copy to python.app . Starting spyder (a pyqt application) from the terminal now launches it in high-res.