Results 1 to 8 of 8

Thread: Eventloop does not quit properly

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,540
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 284 Times in 279 Posts

    Default Re: Eventloop does not quit properly

    In the function StartFunction1 you initiate the download of data but nowhere waiting for its completion.

  2. #2
    Join Date
    Apr 2014
    Posts
    7
    Qt products
    Qt5
    Thanks
    2

    Default Re: Eventloop does not quit properly

    How i can wait for its completion?

  3. #3
    Join Date
    Oct 2009
    Posts
    483
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanked 97 Times in 94 Posts

    Default Re: Eventloop does not quit properly

    Instead of immediately emitting the signal notifying that Function1 has finished, do it in replyFinished() when the last reply has finished.

Similar Threads

  1. crash on qt eventloop
    By waiter in forum Newbie
    Replies: 1
    Last Post: 28th April 2013, 11:28
  2. Replies: 2
    Last Post: 1st August 2011, 06:30
  3. QTcpSocket EventLoop thread is still running?
    By mihau in forum Qt Programming
    Replies: 0
    Last Post: 28th February 2011, 09:41
  4. Problem with eventloop in QThread
    By speedy_gonzales in forum Qt Programming
    Replies: 2
    Last Post: 25th February 2010, 19:17
  5. Thread eventLoop and run
    By ^NyAw^ in forum Qt Programming
    Replies: 2
    Last Post: 8th May 2008, 19:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.