Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › Crash when Separating EntityBase into different qml file

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4757

    Caeser

    I am creating a game where entities are created dynamically using createEntityFromComponent(), however, when I place the EntityBase code in a separate qml file, the app crashes. When I place the code back exactly as it is, the app works. What am I doing wrong? According to the Simple Ninja Game tutorial, one comment states that I can place the the EntityBase in another qml file.

    #4758

    Christian
    Felgo Team

    Hi,

    could you post the relevant source part please? Is there any error message in the log? Usually creating entities from qml files should work equally fine as declaring them statically in a qml file.

    Cheers, Chris

    #4762

    Caeser

    Somehow it just stopped crashing again, very peculiar. There weren’t any error messages in the log, so I couldn’t figure out the problem. However, it’s all fine now.

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded