Unity3d plugin in qml webview
-
wrote on 13 Apr 2011, 12:31 last edited by
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 ...
-
wrote on 13 Apr 2011, 16:23 last edited by
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 !
-
wrote on 9 May 2012, 11:05 last edited by
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).