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 ...



  • 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 !



  • 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).


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.