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



  • 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



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


Log in to reply
 

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