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. Application keeps quitting or destroying the root QML object?

Application keeps quitting or destroying the root QML object?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 260 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.
  • L Offline
    L Offline
    Luke Salisbury
    wrote on last edited by
    #1

    Source code: https://github.com/lukesalisbury/humble-crap

    The above source code, after a bit shuts down printing to console '[FILE] ReferenceError: parent is not defined' for each file. Normally it happens while update a ListView using data from LocalStorage or prosaic-download-queue.cpp, but it currently happens when the script adds a couple of items to prosaic-download-queue.cpp.

    As it does not crash, I'm having a hard time finding out what the issues is with the code. I have seen it happen with QT 5.9/5.10/5.11, as well with mingw, vc++ and linux gcc. I hoping that someone knows the cause or how to find it.

    A Test program using prosaic-download-queue.cpp, https://github.com/lukesalisbury/QMLDownloader , doesn't seem to have the same issues.

    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