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. Embedding QX11EmbedContainer (via QGraphicsProxyWidget) in QML - possible?
Forum Updated to NodeBB v4.3 + New Features

Embedding QX11EmbedContainer (via QGraphicsProxyWidget) in QML - possible?

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 3 Posters 2.0k 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.
  • S Offline
    S Offline
    simonbolek
    wrote on last edited by
    #1

    hi:)

    I have an application in MeeGo/Mer, that I would like to embedd into an existing QML Application.
    With a simple QPushButton it works like this perfectly:
    @
    Embedtest::Embedtest(QDeclarativeItem *parent) :
    QDeclarativeItem(parent)
    {
    pb = new QPushButton("text");
    proxy = new QGraphicsProxyWidget(this);
    proxy->setWidget(pb);
    proxy->setPos(10,10);
    }
    @

    however, when trying to embedd QProcess in QX11EmbedContainer via QGraphicsProxyWidget it does not work.
    There is this post
    "qwidget in QML":http://www.qtcentre.org/archive/index.php/t-39409.html
    saying:
    "The thing is that QML is implemented using Graphics View and items in the graphics view are not widgets so XEmbed"

    But is there really no way to embedd an external application in QWidget and expose this to QML?

    cheers
    simon

    cheers
    simon:)

    http://arcom-ivi.de

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LangstoniusRex
      wrote on last edited by
      #2

      Wondering this myself as I have come across this problem in the last few days. Still searching but the crux of the issue appears to be that window id's become invalid for the QWidget once its added to the scene.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        noarrt
        wrote on last edited by
        #3

        Also stuck with the same problem.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          simonbolek
          wrote on last edited by
          #4

          Unfortunately I did not find any solution/workaround for this problem :(
          That is why I am still using 4.8
          I hope it will come up with next 5.x releases...

          cheers
          simon :-)

          cheers
          simon:)

          http://arcom-ivi.de

          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