Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QML loader crashes when loading a new item because events from the old QML are being fired

QML loader crashes when loading a new item because events from the old QML are being fired

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.0k Views
  • 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.
  • D Offline
    D Offline
    Dolphin
    wrote on last edited by
    #1

    I know this is a short description but I am unsure where to start! I have a loader in my Main.qml which is loading each QML file I need. The loader.source is generated from the back end c++ (based from an XML document). The issue is that when a new QML file is loaded events are being fired from the QML being unloade and objects which no longer exist -> crash. I have seen comments that suggest this might be a Qt error (I am using 5.1). Can anyone shed any light at all? Should items loaded into the loader conform to some specific rules??

    Completely baffled! Would appreciate any pointers on this.

    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