Skip to content
  • Finding QML Components from C++

    Solved QML and Qt Quick qml qml context c++
    8
    0 Votes
    8 Posts
    11k Views
    XandlX
    @benlau said: I read it wrong. I just thought you are using QQmlApplicationEngine. Basically , context will not be the parent of created object. It define the scope of the created object like what it could access. In your case, myComponentObj should be "myObjectYo". Ok, then thank you for your affords :) The goal of this experiment was to regain pointers to created objects via the QQmlEngine, because i don't have control over their creation, yet it looks like QQmlEngine alone is not capable of that. So i'll close this thread and go on with QQmlApplicationEngine. Thank you again.