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. Error ASSERT: "!create" in file

Error ASSERT: "!create" in file

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 490 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.
  • J Offline
    J Offline
    Jose_mcs
    wrote on last edited by
    #1

    Hello everyone,
    I created a function that fills an object and returns that object but after several calls to this function it gives me an ASSERT error: "! create" in file.
    I made debug and I know of the error in the return prop, it never goes into nullprt.
    Below i send image from code c++.

    0_1543593389168_image.png
    Has anyone had problems filling out classes in c ++ and sending to qml like I am having.
    Thank you to all and have a nice day of programming .

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      This can happen only if prop object is NULL. Looks like in some use case awi_base has NULL object somehow.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Samuel Costa
        wrote on last edited by Samuel Costa
        #3

        How can I pass the reference of an already filled object to the qml in a function?
        I already tried to return this object but the qml for some reason converts the object to "qqmlwatchproxy".
        Help-me, please

        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