connect() in Debug and Release build differs
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:
connect(interpreter, &NwExecutionInterpreter::sigPlaceholder, m_placeHolderController, &PlaceHolderController::slotGetReplacements, Qt::BlockingQueuedConnection);
Thank you very much!
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 :-)