[Development] unity3d plugin in QML webview

shane.kearns at accenture.com shane.kearns at accenture.com
Mon May 14 14:21:50 CEST 2012

There was a similar issue with QtMultimedia and video windows.
With QWidget, you can get a native WinId and use that to create the child windows.
With QGraphicsItem, only the top level QGraphicsView has a WinId, not the individual items which are always non native.
(sorry I don't have more details, but it should be possible to find out how that was solved by looking at the sources and commit logs)

I'd suspect the plugin is calling functions which are stubbed or return incorrect values for the QGraphicsWebView implementation.

From: development-bounces+shane.kearns=accenture.com at qt-project.org [mailto:development-bounces+shane.kearns=accenture.com at qt-project.org] On Behalf Of Mülner, Helmut
Sent: 14 May 2012 10:53
To: development at qt-project.org
Subject: [Development] unity3d plugin in QML webview

The unity3d plugin (e.g.  http://download.unity3d.com/gallery/live-demos/players/island.unity3d ) 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).<https://bugreports.qt-project.org/browse/QTBUG-25705%29.>

Does anybody know what could cause this?

Helmut Mülner
DIGITAL - Institute of Information and Communication Technologies

JOANNEUM RESEARCH Forschungsgesellschaft mbH
Steyrergasse 17, 8010 Graz, AUSTRIA

phone:  +43-316-876-2612
general fax: +43-316-876-1191
web:    http://www.joanneum.at/digital
e-mail: helmut.mülner at joanneum.at<mailto:helmut.mülner at joanneum.at>

Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120514/85c7e962/attachment.html>

More information about the Development mailing list