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. > > -- > Samuel > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest
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? Thanks for your help. Luca _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest