[Development] QT through DirectFB on Video playback

Poornima Belavanaki poori14apr at gmail.com
Sun Mar 23 12:36:44 CET 2014

Hi Mandeep,

Thank you so much for the information. Yes, the SoC vendor has provided us
the details about the planes.
So, as per your explanation, what I understand is, QT widgets can be
rendered as is on Video , just that the widgets we create should be

Please correct me if I am wrong. Ours would be a single process
application. Video playback and QT widget would be invoked through the same

I will try out the same . But, as far as I know, we will have to use
qdirectfbscreen class provided by QT inorder have QT apps on Video
playback. Anyways, if you have any such sample app(very minimal one)
available, please can you share with us.

Thanks and Regards,

On Thu, Mar 20, 2014 at 11:17 PM, Mandeep Sandhu <
mandeepsandhu.chd at gmail.com> wrote:

> An embedded video SoC based DFB setup will be something like this
> (might vary a little for your specific board):
> a) 1 background plane (typically lowest z order)
> b) 1 or more video planes
> c) 1 or more OSD planes
> b and c z-order might be interchangeable via DFB.
> Qt typically would run on either the primary or secondary OSD planes
> (check your vendor docs for which plane it actually uses). Any video
> playback would typically render frames on one of the video planes.
> In order to run Qt UI and video together you would just need to make
> the relevant area of the Qt application transparent. The h/w will
> blend the video and OSD planes together and show it on the video port.
> See the widget attributes (Qt::WidgetAttribute) for the exact
> attribute to set (I think it was WA_NoSystemBackground).
> HTH,
> -mandeep
> On Thu, Mar 20, 2014 at 6:52 PM, Poornima Belavanaki
> <poori14apr at gmail.com> wrote:
> > Hi ,
> >
> > We are developing Qt apps on embedded device. We are using DirectFB as
> > windowing system .
> >
> > We have cross-compiled and developed few basic QT apps, which are
> working.
> > Now, we want to get the qt apps on Video window through DirectFB.
> > Basically, want to create directfb surface using QT app on Video
> playback as
> > ours would be a Single application.
> >
> > How can we get QT apps running on Video playback through DirectFB? Our
> SoC
> > vendor has given a sample tool to start Video playback through DirectFB.
> >
> > Hope the problem is clear. If not, please let me know, will try to
> provide
> > more details.
> >
> > Thanks and Regards,
> > Poornima
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140323/4b6bccdb/attachment.html>

More information about the Development mailing list