Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Unity3d plugin in qml webview
Forum Updated to NodeBB v4.3 + New Features

Unity3d plugin in qml webview

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 6.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qtnext
    wrote on last edited by
    #1

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

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qtnext
      wrote on last edited by
      #2

      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 !

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hmuelner
        wrote on last edited by
        #3

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

        Helmut Mülner

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved