Calling cocoa function from qt
I'm running an exclusively mac program built on qt and i need to call CMTime (obj c function from CoreMedia). Is there a simple way to do this? Any help would be greatly appreciated. TIA
Rename your source file to .mm and you're able to mix C++ and Objective-C. Also, include your source file in your pro file using:
OBJECTIVE_SOURCES = MyFile.mm
Hope that helps.
@bludger - Thanks, I'll try that...