Results 1 to 5 of 5

Thread: signal/slot mechanism is totally independent of any GUI event loop

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    85
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: signal/slot mechanism is totally independent of any GUI event loop

    Quote Originally Posted by jacek
    It means that this mechanism will work even if you don't have a running event loop.
    At least if you have multiple threads with queued connections this is wrong: Queued connections are only processed in the event loop: QThread::exec
    But all this works without a GUI, use QCoreApplication instead of QApplication.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: signal/slot mechanism is totally independent of any GUI event loop

    Quote Originally Posted by Codepoet
    At least if you have multiple threads with queued connections this is wrong:
    Provided that you use Qt4, unlike the author of this thread.

Similar Threads

  1. Workload in a QThread blocks main application's event loop ?
    By 0xBulbizarre in forum Qt Programming
    Replies: 14
    Last Post: 9th April 2006, 21:55

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.