Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. QProcess in loop inside QThread and update UI-QProgressBar

QProcess in loop inside QThread and update UI-QProgressBar

Scheduled Pinned Locked Moved Language Bindings
3 Posts 3 Posters 4.2k 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
    ManasQt
    wrote on 21 Sept 2011, 22:37 last edited by
    #1

    Hi All,

       please tell me how to use QProcess in loop inside QThread and update UI-QProgressBar
    
    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on 22 Sept 2011, 00:40 last edited by
      #2

      updating QProcess mustbe done inside the main thread. You could use signal/slot between objects in a thread an a GUI object for updating.

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on 22 Sept 2011, 23:06 last edited by
        #3

        This is a duplicate of "this thread":http://developer.qt.nokia.com/forums/viewthread/9899/. Closed.

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0

        3/3

        22 Sept 2011, 23:06

        • Login

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