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. connect() in Debug and Release build differs
Forum Updated to NodeBB v4.3 + New Features

connect() in Debug and Release build differs

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 655 Views 3 Watching
  • 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.
  • jensen82J Offline
    jensen82J Offline
    jensen82
    wrote on last edited by
    #1

    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:

    connect(interpreter,
                &NwExecutionInterpreter::sigPlaceholder,
                m_placeHolderController,
                &PlaceHolderController::slotGetReplacements,
                Qt::BlockingQueuedConnection);
    

    Thank you very much!

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      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.

      jensen82J 1 Reply Last reply
      3
      • mrjjM mrjj

        Hi
        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.

        jensen82J Offline
        jensen82J Offline
        jensen82
        wrote on last edited by
        #3

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

        1 Reply Last reply
        1

        • Login

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