On 04/03/2013 11:04 AM, Luca Carlon wrote: > On Wed, Apr 3, 2013 at 10:56 AM, Samuel Rødal <samuel.ro...@digia.com> wrote: >> If you can get access to the QWindow you can qobject_cast to check that >> it's a QQuickWindow. In that case you can connect to the >> beforeRendering() signal of the QQuickWindow using a >> Qt::DirectConnection, which will cause your slot to be executed on the >> render thread before the rendering of a frame. >> > Yes, that is what I thought I could do, but where can I get a > reference to the QQuickWindow? I'm reimplementing the > QMediaPlayerControl class. Or maybe from the parent of my > QMediaService subclass?
QMediaPlayerControl itself doesn't have any way to get a QWindow afaik. I'm not too familiar with QtMultimedia. -- Samuel _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest