Re: QTMovie initWithFile
Re: QTMovie initWithFile
- Subject: Re: QTMovie initWithFile
- From: "Thomas B. Pedersen" <email@hidden>
- Date: Wed, 2 Nov 2005 21:58:32 -0500
The problem was caused by me not including QTMovie.h. I would have
thought Xcode would have given me a better warning.
Thanks for the help.
On Nov 2, 2005, at 9:47 PM, Michael Hall wrote:
On Nov 2, 2005, at 7:58 PM, Thomas B. Pedersen wrote:
QTKit.framework is added. When I drill down and load the QTMovie.h
file in the browser, I can see that the method signature is
correct. But it seems like Xcode is reading it from somewhere else
although this is the only instance of QTMovie.h on my system.
Outside Xcode?
#import <QTKit/QTMovie.h>
int main() {
QTMovie *movie;
NSString *filename;
movie = [[QTMovie alloc] initWithFile:filename error:NULL];
}
ts1-19:~/devstuff mjh$ gcc -framework Foundation -framework QTKit -
o qtmovie qtmovie.m
ts1-19:~/devstuff mjh$
Mike Hall mikehall at spacestar dot net
http://www.spacestar.net/users/mikehall
http://sourceforge.net/projects/macnative
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden