Hi, Dimitri. Dimitri Frederickx wrote: > Two weeks ago you posted in the newsgroups a new jar file for Mac OS X > because in the preview version phonon was not working. I'm using that > version of Qt Jambi. Based on your feedback I looked back to the code I > have and come to the following conclusion: > > - I can indeed not add a VideoWidget to a scene. The widget will not be > rended inside the view. So this will be fixed in the final version of Qt > Jambi? >
Yes, I have tested this on Windows. I'll make a task to test that it works on the other platforms as well before going final. > - As a work around I set the parent of the VideoWidget to the > QGraphicsView. A QGraphicsView extends a QWidget, so setting the parent of > the VideoWidget to the view renders my video widget in my view, but I > cannot use overlays. Here is the code I use that is giving the error I told > before: > You are getting the warning you mentioned due to this work around. You can only add top-level widgets to a graphics view, so in your code the call to scene.addWidget() has no effect other than print out the warning. The reason the video is being displayed is that Qt Jambi is rendering it as a regular child widget of the graphics view. Thus, it is not part of the scene, and none of the transformations (rotation, zooming, etc) on the graphics view will have any effect on the rendering of the video. -- Eskil _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
