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. Qt 4.8.0 Signal does not act like a Qt::DirectConnection
Qt 6.11 is out! See what's new in the release blog

Qt 4.8.0 Signal does not act like a Qt::DirectConnection

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.4k Views 1 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.
  • W Offline
    W Offline
    wamo
    wrote on last edited by
    #1

    Hi,

    i switched to Qt 4.8.0 and downloaded the libraries from the homepage.

    Since then my code does not act like a DirectConnection although its definitive in the same thread and i forced this behaviour with Qt::DirectConnection as the fourth parameter.

    I use the 2010 Libraries. Unfortunately after "qmake -tp vc -r" all of my projects had an optimization flag "/O2" in debug mode?!?

    Now if i let this flag then the connection works as expected but i loose many debug features because some breakpoint positions were optimized away.

    Any idea?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dangelog
      wrote on last edited by
      #2

      Remove the optimization flag and recheck? Btw, some bugs were fixed in the connection handling code in 4.8. Could you paste a simple testcase?

      Software Engineer
      KDAB (UK) Ltd., a KDAB Group company

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wamo
        wrote on last edited by
        #3

        If i remove /O2 then the Qt::DirectConnection do not work anymore.

        https://bugreports.qt.nokia.com/browse/QTBUG/fixforversion/11905

        There seems to be a lot of broken things in VS2010 while 4.8.0 was introduced.

        1 Reply Last reply
        0

        • Login

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