Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Is QProgressDialog.wasCanceled() thread-safe?

    General and Desktop
    2
    2
    153
    Loading More Posts
    • 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
      jimbo1qaz last edited by

      I'm running pyqt 5.11 I think.

      Can I safely call QProgressDialog.wasCanceled() from a worker QThread (not GUI thread)?

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by mrjj

        Hi
        I do not think its thread save. Normally no direct interaction to QWidgets from non GUI thread is
        allowed.

        1 Reply Last reply Reply Quote 3
        • First post
          Last post