Pat Niemeyer
Pat Niemeyer

Reputation: 6388

Can't load Quartz animation in screen saver: "You cannot use the XXX screensaver on this computer"

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

Answers (2)

Peter Hosey
Peter Hosey

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

Azeem.Butt
Azeem.Butt

Reputation: 5861

My guess is that a 32-bit binary is being fed to a 64-bit process or vice-versa.

Upvotes: 0

Related Questions