Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

A problem that I can't call some functions declared in QtObject of qml



  • I declare some functions in QtObject of qml. Then, I dymically create a qml object from javascript, and I can call these functions soon. However, subsequently, I want to call these functions from javascript again. They can't be found in this object.

    QtObject{
          id: ...
          property int ...
    
          function func(){
                  ...
          }
    }
    

    Is there someone that can tell me how to solve this issue?



  • I met this problem too,bro.Has you figure this out yet?


Log in to reply