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

QObject::connect not recognizing signals

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 5.15.2
    • Build tools: qmake
    • None
    • Windows

    Description

      After defining some signals and slots in header files, I attempted to connect the signal to a slot, but the compiler kept giving a warning that the signal does not exist. The warning disappeared after I switched from the MSVC compiler to MinGW.

      In both cases, the code builds. In the case with the warning, though, there is no connection between the functions, which I tracked by debugging and stepping into functions. With MinGW, the code works as intended.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            e4enigma Michael Douglass
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes