How do I render scene to external Widget?

Hi Everyone,
I want to know,Is there a way to get scene data from the engine to render to external widget ?
Thanks.

You can use a scene capture 2D component which is a camera in the scene that will save what ever it’s seeing as a texture, you can also capture depth map or other type of maps. Also make sure to disable capture every frame if you do not needed as it might impact your performance. Once you have the texture you can use in the material of the widget.

Thanks,But It seems not what I need.
I want to render the scene on My custom widget,for example a Qt Widget.
Please tell me something about that if you know,thanks again.