Changes between Initial Version and Version 1 of Ticket #36410, comment 5
- Timestamp:
- Mar 6, 2013, 2:08:39 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36410, comment 5
initial v1 1 1 This 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: 2 2 3 {{{ 3 4 <key>NSPrincipalClass</key> 4 5 5 <string>NSApplication</string> 6 7 6 <key>NSHighResolutionCapable</key> 8 9 7 <true/> 8 }}} 10 9 11 10 It 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 … … 13 12 like so (a little context included): 14 13 14 {{{ 15 15 <dict>(context) 16 17 16 <key>NSPrincipalClass</key> 18 19 17 <string>NSApplication</string> 20 21 18 <key>NSHighResolutionCapable</key> 22 23 19 <true/> 24 25 20 <key>CFBundleDevelopmentRegion</key>(context) 26 21 }}} 27 22 28 23 making 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.