how to paint in a window created by means of Qt (QMainWindow)?

Sorry for my english. I need to display image (by cocos2d) in window created by Qt (framework). Could you help me?

There is no necessity to help me with Qt. I only want to know how set video stream in window that was already created (not by cocos2d-x)?