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?

- 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:

// FIXME : Remove in Qt Jambi 4.4               
videoPlayer.setParent(scene.views().get(0));

// Add the widget to the graphics view
proxyWidget = scene.addWidget(videoPlayer.videoWidget());


But since you can't reproduce the problem, it will probably already be 
fixed. Anyway, thanks for looking at it.

/Dimitri


Eskil Abrahamsen Blomfeldt <[EMAIL PROTECTED]> wrote:
 
> Hi, Dimitri.
> 
> Dimitri Frederickx wrote:
>> I want to add the VideoPlayer to my graphics view, but it is not 
>> working. When I add a VideoPlayer to a scene, the following error is 
>> printed out to the console:
>>
>> QGraphicsProxyWidget::setWidget: cannot embed widget 0x1e259750 that 
>> is not a window
>>
>>   
> 
> I cannot reproduce the exact warning message you are getting, but when 
> running against the Qt Jambi 4.4.0_01 preview, I am, as you say, unable 
> to embed the VideoWidget in GraphicsView using a QGraphicsProxyWidget. 
> This does, however, seem to already have been fixed for the final 
> release of Qt Jambi, as I cannot reproduce the problem with a more 
> recent version.
> 
> Thank you for the report!
> 
> -- Eskl
> 

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to