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

Forums

OverviewFelgo 4 Support (Qt 6) › EntityManager error

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

    Sakesfar

    Hi,

     

    I am creating an empty Felgo Game project and whenever I try to create an EntityManger I get an error:

    Could not resolve the prototype "QtObject" of "EntityManager"  M(301)

    The main qml is here :

     

    import Felgo 4.0
    import QtQuick 2.0

    GameWindow {
    id: gameWindow

    EntityManager{
    id:entitymanger
    entityContainer: scene
    }

    screenWidth: 960
    screenHeight: 640

    Scene {
    id: scene

    width: 480
    height: 320

    Image {

    source: “../assets/felgo-logo.png”
    }

    }
    }

     

     

    #25318

    Günther
    Felgo Team

    Hi,

    this error is purely an IDE issue with Qt Creator falsely detecting that QtObject does not exist. You will e.g. also see an “Unknown Component” error when putting a custom QtObject in your QML. It does not affect the functionality and QtObject is available when you compile and run the application.

    EntityManager is indirectly affected, as it derives from QtObject. You can safely ignore the error.

    Best,
    Günther

    #25322

    Sakesfar

    Thank you,Günther!

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