Open cgimenez opened 8 years ago
Ideally, it would be fine if this setting could be "per project", because one can have apps running on 4k displays for which the NSHighResolutionCapable must be TRUE. In the meantime having examples working out of the box of Retinas is a first step in the right direction...
Please submit a pull request. If you don't know how, I highly recommend this great tutorial!
Application .plist generated by Qt Creator is not correct on OSX computers using Mac Retina displays making the app unusable on this kind of device (everything is scaled 4x times down, mouse clicks coordinates are wrong making UI unresponsive, ...)
As XCode project does, Qt app generation should include "NSHighResolutionCapable" in the application's plist file.
https://github.com/openframeworks/openFrameworks/blob/master/libs/openFrameworksCompiled/project/qtcreator/modules/of/of.qbs#L564 So, line 564 (in master) is
bundle.infoPlist: ({"CFBundleIconFile":"icon.icns", "NSHighResolutionCapable":false})
instead ofbundle.infoPlist: ({"CFBundleIconFile":"icon.icns")
Same goes for line 569 (in master)
Sorry, I don't know how to make a PR :-/