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. Check an event is processed or not after QCoreApplication::postEvent

Check an event is processed or not after QCoreApplication::postEvent

Scheduled Pinned Locked Moved General and Desktop
event loopposteventisaccepted
1 Posts 1 Posters 713 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
    JKJK
    wrote on 26 Jun 2015, 07:04 last edited by
    #1

    I make user-event and send it an object in another thread using postEvent(). Since the receiver can be destroyed before it process the event, I want to know the event is processed or not.

    But QML doc says "It is not safe to access the event after it has been posted."

    Is there a way to know the event is processed or not?

    1 Reply Last reply
    0

    1/1

    26 Jun 2015, 07:04

    • Login

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