[Qt5-feedback] Qt5: Native widgets on Windows
gunnar.sletta at nokia.com
gunnar.sletta at nokia.com
Thu May 12 07:18:21 CEST 2011
Hi Jean,
There will be a window class that you can use to get a "black box" element with a native window handle. The current thinking is that it will sit on top of the root window. With that I mean that you get two native window handles. One for the root window which contains the Qt layer and one for your window which will be a child of the root window. Clipping and overlapping widgets in the Qt layer will then have no effect on your window.
Bear in mind that the windows port of lighthouse is currently not being actively worked on so this is a bit away still.
-
Gunnar
On May 12, 2011, at 12:26 AM, ext Jean-Baptiste Kempf wrote:
> Dear Qt devs, Nokia folks and community,
>
> I have to say that I am pretty excited to see Qt moving on, and to see
> Qt5 having quite a few cool things ahead.
>
>
> However, in my use case (http://www.videolan.org/vlc/), which is a bit of
> a corner case, I need a native-widget (a HWND, retrieved with
> QWidget::winId() ) to be able to paint on it using another thread (and
> using GPU overlay), on the Windows platform.
>
> If I understood correctly (I am sure I didn't :) ) in Qt5, lighthouse
> and the compositor abstract all the underlying system, so I am wondering
> if there will be a way to get access to a native widget inside my layouts?
>
> Maybe QPlatformWindow is a solution (4.8+?) but I still have difficulty
> finding some documentation about it and QPlatformWindowFormat only
> speaks about OpenGL...
>
> If you have any idea/clue to share, that would be great...
>
> Thanks again and good luck.
>
>
> Best Regards,
>
> PS: no, rendering the video in OpenGL is not a solution...
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> Qt5-feedback mailing list
> Qt5-feedback at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
More information about the Qt5-feedback
mailing list