in my application creation of an QCRenderer constantly fails - it
returns an nil object.
For testing purposes I transplanted the (working) -
applicationDidFinishLaunching method from /Developer/Examples/Quartz
\ Composer/Player/main.m to my application controller object.
It gets invoked and fails to create an renderer - in this case
bound to an fullscreen OpenGL context.
Make sure the path to the composition file is valid.
Also my other attempts creating an renderer bound to an
(programmatically created) GL Context for an NSView fail. The code
is derived from /Developer/Examples/Quartz\ Composer/Performer but
changed to be used from an Document instead of an Application
controller. In that case I use lazy initialisation to set up the
Renderer. The GL context is fine, for testing purposes I put a
routine drawing with OpenGL into it if creation of the QCRenderer
fails.
The window that gets created has the same properties as the
Performer sample window except it has an additional drawer..
What else are the prerequisites to create an QCRenderer?
Just a valid path to a qtz file and a NSOpenGLContext
You might wanna check the console log for any message from QC.