Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QQuickWidget on QGraphicsScene

    General and Desktop
    2
    2
    114
    Loading More Posts
    • 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.
    • L
      Luckless last edited by

      I have a QQuickWidget that loads a qml containing an image.svg. If i show this image directly using

      qquickwidget_ptr->show();

      the image inside the qml is displayed properly. But if I add this QQuickWidget to a QGraphicsScene and then show the scene using a QGraphicsView, my image gets pixelated (maybe due to stretching). How can I resolve this issue ?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        Do you have anything else that is done in that QML UI except showing an SVG ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post