oob2
14th July 2010, 21:33
Hi,
I have a program that is written in Qt4.6.3.
I need to capture webcam video stream and feed this video stream into my QT app.
I wrote a QT static library and it calls win32 VFW (or DirectShow) APIs to get webcam video stream. And my QT app will link against this QT static library. It works well on win32 machines.
However, I need this app running on Mac OS too.
So, I use the same QT app code. But for the lower level QT static library, how do I call QTKit APIs? QTKit.framework is actually a cocoa framework and I should write a objective-c code.
Thanks.
I have a program that is written in Qt4.6.3.
I need to capture webcam video stream and feed this video stream into my QT app.
I wrote a QT static library and it calls win32 VFW (or DirectShow) APIs to get webcam video stream. And my QT app will link against this QT static library. It works well on win32 machines.
However, I need this app running on Mac OS too.
So, I use the same QT app code. But for the lower level QT static library, how do I call QTKit APIs? QTKit.framework is actually a cocoa framework and I should write a objective-c code.
Thanks.