April 13, 2011

qtnext qtnext
Lab Rat
149 posts

unity3d plugin in qml webview

 

Hi,

I have an application done in QML. I need to be able to display a qml webview that display a unity3D plugin web page. for example : http://download.unity3d.com/gallery/live-demos/players/island.unity3d

It works fine if for example I enter this url in the Qt (C++) browser demo, but when I try to load this url in a qml webview … I see only a black screen … and when I quit my apps I see a crash report from unity3D ( I display QML using opengl viewport). what can be different from a normal qwebview …

2 replies

April 13, 2011

qtnext qtnext
Lab Rat
149 posts

I was thinking that it was an opengl issue … but if I launch the c++ browser demo with -graphicssystem opengl … It works fine, it’s only when it’s using in QML (for information I use Windows Seven platform). I don’t what’s happen !

May 9, 2012

hmuelner hmuelner
Lab Rat
30 posts

This still does not work for Qt 4.8.2 on Windows7. The unity3d plugin works with QWebView but not in QGraphicsWebView or in a QML WebView. The plugin uses three stacked windows on top of the web page and I suspect that something in the QGraphicsView prevents the creation of those windows. I have reported this in the Qt bug tracker (https://bugreports.qt-project.org/browse/QTBUG-25705).

 Signature 

Helmut Mülner

 
  ‹‹ [solved] QML and fragment shader      Problem with textbox ››

You must log in to post a reply. Not a member yet? Register here!