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. Threads in qt qml application
Forum Updated to NodeBB v4.3 + New Features

Threads in qt qml application

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 508 Views
  • 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.
  • M Offline
    M Offline
    manny_lp
    wrote on 26 Nov 2020, 04:26 last edited by
    #1

    Hi,

    I want to know about threads created by qt application. I ran one of the example application given in qt creator called "gallery". Looks like there are 6 threads as per top command (top -H <process id>)output:

    1. gallery
    2. gallery
    3. QSGRenderThread
    4. QEvdevTouchScre
    5. QQmlThread
    6. FileInfoThread

    Is there any document giving details about each one of these? Why two threads with same name is created?

    J 1 Reply Last reply 26 Nov 2020, 05:49
    0
    • M manny_lp
      26 Nov 2020, 04:26

      Hi,

      I want to know about threads created by qt application. I ran one of the example application given in qt creator called "gallery". Looks like there are 6 threads as per top command (top -H <process id>)output:

      1. gallery
      2. gallery
      3. QSGRenderThread
      4. QEvdevTouchScre
      5. QQmlThread
      6. FileInfoThread

      Is there any document giving details about each one of these? Why two threads with same name is created?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 26 Nov 2020, 05:49 last edited by
      #2

      @manny_lp Did you check the code of that example application to see where these threads are created? A normal Qt/QML application usually has only one thread, so I think this example application creates additional threads.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        manny_lp
        wrote on 26 Nov 2020, 10:42 last edited by
        #3

        All qt applications create multiple threads.

        1 Reply Last reply
        0

        1/3

        26 Nov 2020, 04:26

        • Login

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