Reputation: 6388
I've written a simple screensaver that loads a Quartz animation using a QCView. But when I install it on Snow Leopard it appears in the Screen Saver preview with a message saying "You cannot use XXX screensaver on this computer...". If I comment out the loadCompositionFromFile line (but leave the Quartz framework linked) it's fine. I can also use the Quartz animation by itself as a screensaver just fine. So it's something about loading the qtz file into a QCView that is a problem. Any thoughts would be appreciated.
thanks, Pat
Upvotes: 1
Views: 1367
Reputation: 96333
Are you building with GC unsupported? The screen saver engine runs garbage-collected when running in 64-bit on Snow Leopard.
See QA1666 for the full set of requirements.
Note that even if you only support Snow Leopard, you should still build 32-bit GC-supported or -unsupported (not -required) in a non-release build configuration if you want to use test apps like SaverLab.
Also, is there a reason you're hosting a Quartz Composition in a QCView? The screen saver can handle Quartz Compositions directly.
Upvotes: 1
Reputation: 5861
My guess is that a 32-bit binary is being fed to a 64-bit process or vice-versa.
Upvotes: 0