[Qt5-feedback] Qt5: Native widgets on Windows

Jean-Baptiste Kempf jb at videolan.org
Thu May 12 00:26:18 CEST 2011


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


More information about the Qt5-feedback mailing list