[Rubycocoa-devel 448] Re: QTKit patches and tests

Back to archive index

Jonathan Paisley jp-ww****@dcs*****
Sun Nov 12 04:53:40 JST 2006


> Okay, about the test failure.
> It is my believe, that you can't actually call setCurrentTime etc.
> when the movie object isn't associated with a MovieController.
> So I don't think you can use these methods when running from
> just a script or irb etc.

It seems that you can do this after all.

The crash from running the test cases was due to RubyCocoa not being  
linked to QTKit.framework. Therefore, when the code tries to call  
QTMakeTimeRange or QTMakeTime, those symbols are undefined (point to  
0) and a crash occurs.

Your standalone project worked because it linked to QTKit and  
therefore the symbols were available for rubycocoa.

I've added the link to QTKit.framework to the xcode project.






More information about the Rubycocoa-devel mailing list
Back to archive index