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

qt signal and slot connect function complie failed.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.0
    • 5.0.2
    • Core: Object Model
    • None
    • win7
    • 76b06f993e534e02e35830ac0d8f41e546463945

    Description

      connect(this, &TestSlot::testSignal, this, std::tr1::bind(&TestSlot::testSlot, this))

      complie failed when point to member function when use bind

      connect(socket, &QTcpSocket::error, this, &TestSlot::error);

      when signal function name is equal member function complie failed.

      Attachments

        1. 1.JPG
          1.JPG
          27 kB
        2. 2.JPG
          2.JPG
          21 kB
        3. TestSlot.7z
          8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            awfan fanjunwu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes