Jump to content

QtWebkit integration as GUI overlay


photo

Recommended Posts

Posted

Unigine also supports Qt. And this is a real good thing.

The specific thing which really could help me a lot is : QtWebkit as UI overlay for application.

 

Is there any specific guide for integrating QtWebkit as UI. and

How to access DOM, java-script objects/function form unigine-script also

Reverse communication from QtWekit java-script call to unigine-script functions.

 

I do see Qtwebkit lib in SDK and support for QT .ui file support. This would enable to create QtWebkit as widget, but I would like to have above integration and transparent overlay.

 

Using Qt 4.7.3 MingW on windows XP.

Evaluation Kit for Windows 2011-06-07

 

thanks

Posted

Currently Qt runs as external windows and not in the Unigine Context - from what I understand Qt in Context is not currently planned.

 

Qt currently supports running in an OpenGL context but not a DirectX context and with an OpenGL context it expects to own that context which causes complications.

I am guessing that this part of Qt is Modular however and it would be possible to write a backend similiar to the OpenGL backend that draws Qt in a Unigine context but this would take considerable effort. Still it would be a nice feature to have. Either that or the native Widgets being able to read a Qt .ui file.

Posted

Currently Qt runs as external windows and not in the Unigine Context - from what I understand Qt in Context is not currently planned.

 

Qt currently supports running in an OpenGL context but not a DirectX context and with an OpenGL context it expects to own that context which causes complications.

I am guessing that this part of Qt is Modular however and it would be possible to write a backend similiar to the OpenGL backend that draws Qt in a Unigine context but this would take considerable effort. Still it would be a nice feature to have. Either that or the native Widgets being able to read a Qt .ui file.

 

 

I understand,

 

Unigine SDK 2011-05-30 screenshot for qt shows its in own windows, but wasn't sure of it.

 

It does not have to render in OpenGL or Directx context, rather in some memory and that can be overlayed in Unigine as UI.

Ill try it sometime, if possible form UnigineScript Materials, (no sdk with me :-( .) It might have to take few hacks, maybe.

 

 

Anyways, "Huge world support" is out. cheers,

×
×
  • Create New...