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

Create Thread in QML



  • Hello,
    I have function and i using this function when starting program in QT like this -> CreateThread(0, 0, (LPTHREAD_START_ROUTINE)getdata, 0, 0, 0);

    How can i use this create thread in QML ? how can i call this function in qml like create thread ?
    Thank you


  • Lifetime Qt Champion

    Hi,

    You don't from QML directly but from the C++ side. Then you integrate that with your QtQuick interface.


Log in to reply