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. Qt Quick as a UI on top of QGraphicsView in Qt 5

Qt Quick as a UI on top of QGraphicsView in Qt 5

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 2.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.
  • E Offline
    E Offline
    electrohamster
    wrote on last edited by
    #1

    I've been searching everywhere for an example of this in Qt 5 but I can't find one.

    I want to use Qt Quick as a UI rendered on top of a QGraphicsView, but I'm having difficulty figuring out how to do this. Can anyone give me some pointers / direct me to a sample or tutorial?

    Here is a youtube video of something similar but not exactly what I want. http://www.youtube.com/watch?v=YqlaKY0a1hg&feature=player_embedded

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jens
      wrote on last edited by
      #2

      I have not tried so I cannot offer detailed help but keep in mind that QtQuick 2.0 is not using QGraphicsView as it's base any more so it is likely to be a bit more difficult to get it to working on top of GraphicsView than it was in Qt 4.

      This is part of the reason why all of QtQuick 1 is still included in Qt5. If you can find a working example with Qt4, you should be able to port it fairly easily to Qt5 by using the QtQuick 1.0 compatibility module.

      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