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. Question about QThread with more than one QObject
Qt 6.11 is out! See what's new in the release blog

Question about QThread with more than one QObject

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 334 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.
  • MihanM Offline
    MihanM Offline
    Mihan
    wrote on last edited by
    #1

    Hi all

    I have a question about QThread----could more than one QObject' targets moveToThread()to oneQThread`?

    Hope get your help

    Best regards
    Mihan

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Yes, why should it not be allowed?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • MihanM Offline
        MihanM Offline
        Mihan
        wrote on last edited by
        #3

        Thank you so much!
        I thought there was only one-to-one correspondence.

        KroMignonK 1 Reply Last reply
        0
        • MihanM Mihan

          Thank you so much!
          I thought there was only one-to-one correspondence.

          KroMignonK Offline
          KroMignonK Offline
          KroMignon
          wrote on last edited by
          #4

          @Mihan said in Question about QThread with more than one QObject:

          I thought there was only one-to-one correspondence.

          This would be very strange, all GUI items have to be in main thread.
          How should that be possible if each instance would need a specific thread!

          It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

          1 Reply Last reply
          0

          • Login

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