• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: QTMovie initWithFile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >QTMovie initWithFile (From: "Thomas B. Pedersen" <email@hidden>)
 >Re: QTMovie initWithFile (From: James Spencer <email@hidden>)
 >Re: QTMovie initWithFile (From: "Thomas B. Pedersen" <email@hidden>)
 >Re: QTMovie initWithFile (From: Michael Hall <email@hidden>)

  • Prev by Date: Re: QTMovie initWithFile
  • Next by Date: Re: Changes in CoreData/10.4.3?
  • Previous by thread: Re: QTMovie initWithFile
  • Next by thread: setPrimitiveValue:forKey: question
  • Index(es):
    • Date
    • Thread