Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. moveToThread with QThreadpool
Qt 6.11 is out! See what's new in the release blog

moveToThread with QThreadpool

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.0k 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.
  • J Offline
    J Offline
    JadeN001
    wrote on last edited by kshegunov
    #1

    How to pass a worker object into one of threads from threadpool?
    I am trying QThreadpool and moveTothread...thanks.

    [Locked, duplicate of https://forum.qt.io/topic/90833/movetothread-in-threadpool ~kshegunov]

    Taz742T 1 Reply Last reply
    0
    • J JadeN001

      How to pass a worker object into one of threads from threadpool?
      I am trying QThreadpool and moveTothread...thanks.

      [Locked, duplicate of https://forum.qt.io/topic/90833/movetothread-in-threadpool ~kshegunov]

      Taz742T Offline
      Taz742T Offline
      Taz742
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #3

        You can't. Maybe this helps: https://mayaposch.wordpress.com/2011/11/01/how-to-really-truly-use-qthreads-the-full-explanation/

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        1

        • Login

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