[Qt-mobility-feedback] Qt-mobility-feedback Digest, Vol 8, Issue 25
Steve Schilz
sschilz at pasco.com
Wed Jul 28 17:28:53 CEST 2010
[Steve Schilz]
>> In tech preview 1.1.0, VideoWidget method setMediaObject is declared
Protected.
>>
>> Shouldn't this be public Q_SLOTS?
[Justin McPherson]
No.
Use <x>::setVideoOutput() to attach the video widget to your object of
interest.
- Justin
[Steve Schilz]
Ahh! The connection is made from the player to the videoWidget. I was
trying to use a videoWidget method to connect to the player.
In other words changing this code:
vWidget->setMediaObject(mPlayer);
to this:
mPlayer->setVideoOutput(vWidget);
solved my problem (and works!) without modification of Qt source.
Steve
More information about the Qt-mobility-feedback
mailing list