Re: QTKit from UNIX app?

2012-06-10 Thread Jeff Johnson
Hi Todd. FWIW, I have a LSBackgroundOnly application that uses QTKit. Instead of NSApplicationMain(), I do [[NSApplication sharedApplication] run]. Perhaps that's not exactly what you want, but pretty close. It does suggest you might be able to get away with, say, running the run loop

QTKit from UNIX app?

2012-06-09 Thread Todd Heberlein
Probably a naive question, but can I use QTKit (or is there a better library?) to capture images (or videos) inside a UNIX helper application? I've never tried using Cocoa (and related) objects outside a regular Cocoa application with a GUI, NSApplicationMain(), etc. Is this generally

Re: QTKit from UNIX app?

2012-06-09 Thread Fritz Anderson
On 9 Jun 2012, at 4:33 PM, Todd Heberlein wrote: I've never tried using Cocoa (and related) objects outside a regular Cocoa application with a GUI, NSApplicationMain(), etc. Is this generally prohibited? Not generally prohibited. You can use the Foundation framework in command-line tools.

Re: QTKit from UNIX app?

2012-06-09 Thread Eric Wing
On 6/9/12, Todd Heberlein todd_heberl...@mac.com wrote: Probably a naive question, but can I use QTKit (or is there a better library?) to capture images (or videos) inside a UNIX helper application? I've never tried using Cocoa (and related) objects outside a regular Cocoa application with a