| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 19 Dec, 2004, at 09:51, Roine Gustafsson wrote:
On Sunday, Dec 19, 2004, at 18:12 Europe/Stockholm, Edward Agabeg wrote:
Edward Agabeg on Sunday, December 19, 2004 at 2:01 AM -0500 wrote: Subject: Xcode QT component? To: QuickTime API List <email@hidden> Message-ID: <email@hidden> Content-Type: text/plain; charset=US-ASCII; format=flowed
What project type should I use to build a QuickTime component with Xcode? I can't find any code samples on Apple's website.
- Andreas
Carbon dynamic library, then follow the instructions outlined in TN 2012 for Mach-O. Ignore all the legacy CFM, OS 9 stuff obviously. Also, see Electric Image Component sample (includes five components).
http://developer.apple.com/technotes/tn/tn2012.html
http://developer.apple.com/samplecode/ElectricImageComponent/ ElectricImageComponent.html
Hey Andreas,
Just realized, that will get you a non-bundled component. So, more accurately you should start with the new project type "Carbon Bundle" in Xcode. Remember to rename it to .component instead of .bundle
Both work. I tend to prefer the library kind instead of the bundle kind. A bundle is a whole directory structure, which is fine for an application but overkill for a simple QT component. Just create a dynamic library and give it a .component extension. Works fine, but Apple seems to prefer the bundle kind.
For a library component, external code you link needs to be compiled with -fPIC. That's the only difference I've found.
If your component has support applications and multi-language NIB files etc, a bundle would be more appropriate.
/Roine
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/ email@hidden
This email sent to email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden
| References: | |
| >Re: Xcode QT component? (From: Roine Gustafsson <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.