Important: Please read the Qt Code of Conduct -

connect() in Debug and Release build differs

  • Hi,

    i've got a problem with connect() and the connection type. I'm using the connection-type BlockingQueuedConnection. In debug it works, the app blocks until the user input was processed, in release-mode the user input appears and the next function is executed. What could cause the different behaviour?

    Here's the code i'm using:


    Thank you very much!

  • Lifetime Qt Champion

    It should work the same.

    Please show the code where you use the the signal.

    BlockingQueuedConnection means is queued until the event loop is able to deliver it to the slot.
    In release mode, it might be faster.

  • @mrjj : Thank you! Problem solved...the build process was the problem. It did not rebuild because of date-issues :-)

Log in to reply