Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-79570

MSVC: disconnect() does not work properly with virtual slots across libraries

    XMLWordPrintable

Details

    • Windows

    Description

      Looks like a signal connected to a virtual slot cannot be disconnected from a library. Seems to only occur with MSVC (tested with 2017).

      Qt 5.15.0 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2019)
      connected succesfully: true
      disconnected successfully: false
      
      Qt 5.14.0 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2017)
      connected succesfully: true
      disconnected successfully: false
      
      Qt 5.15.0 (x86_64-little_endian-llp64 shared (dynamic) debug build; by GCC 8.1.0)
      connected succesfully: true
      disconnected successfully: true
      

      Attachments

        1. qtbug79570.zip
          11 kB
        2. qtbug79570.zip
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes