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. Loader asynchronous return "Object destroyed during incubation" error
Forum Updated to NodeBB v4.3 + New Features

Loader asynchronous return "Object destroyed during incubation" error

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 2.2k 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.
  • D Offline
    D Offline
    deleted57
    wrote on 7 Sept 2016, 10:34 last edited by
    #1

    Hi all
    The following code:

    Loader {
           id: myComponent
    	asynchronous: true
           source: "qrc:/MyComponent.qml"
    	visible: status == Loader.Ready
        }
    

    inside my Main.qml doesn't load the MyComponent.qml and return the error "Object destroyed during incubation" but this only if I set the asynchronous to true. On the contrary asynchronous set to false work correctly and the component is loaded. If I leave MyComponent.qml with only a Rectangle for example without nothing inside is seem is loaded but, obviousluy, nothing is showed. If I start to add child item inside the Rectangle the error came up...
    Someone experimented the same issue and can help?
    Thank you

    1 Reply Last reply
    0
    • D Offline
      D Offline
      deleted57
      wrote on 7 Sept 2016, 12:09 last edited by
      #2

      The problem has been reported here, it seem a bug still unresolved unfortunately...

      https://bugreports.qt.io/browse/QTBUG-50992

      1 Reply Last reply
      0

      1/2

      7 Sept 2016, 10:34

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved