Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Create Thread in QML
Forum Updated to NodeBB v4.3 + New Features

Create Thread in QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 271 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jondoe
    wrote on 30 Jun 2019, 16:29 last edited by
    #1

    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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 30 Jun 2019, 21:26 last edited by
      #2

      Hi,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      2/2

      30 Jun 2019, 21:26

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved