Qt Forum

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

    Reload QML Item3d Source or Viewport after change resources by setsource new for QQuickView

    QML and Qt Quick
    0
    2
    1522
    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.
    • ?
      Guest last edited by

      Hi.

      I have a problem with the QML Item3d or the QML Viewport.

      After I change the Resources I set in C++ the same source new for my QQuickView, so that the (new) Images will be reloaded.
      That works for all Images, really for all in ressource file and from systemfolders, too.

      But after changing the source, the Item3d Mesh Source is not available.

      When I delete the QuickView in C++ and create it new then really everthing works, but I don't want to delete the QuickView.

      I already tried to delete the QObject (QML) where the Item3d is defined but that does not help.

      Has anyone a idea for this problem?

      Thank You.

      1 Reply Last reply Reply Quote 0
      • ?
        Guest last edited by

        Nobody has an idea?

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