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

Threads in qt qml application



  • 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?


  • Lifetime Qt Champion

    @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.



  • All qt applications create multiple threads.


Log in to reply