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

moc generates code that uses emit instead of Q_EMIT for Q_PROPERTY with MEMBER and NOTIFY

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.2.0
    • 5.1.0
    • Build tools: moc
    • None
    • 8a96679493bcb5e508cf438d6d6f18d0db7a43cc

    Description

      We compile globally with QT_NO_KEYWORDS, this prevents us from using MEMBER with NOTIFY. moc generates:

      if (actions_ != *reinterpret_cast< QObject**>(_v)) {
        actions_ = *reinterpret_cast< QObject**>(_v);
        emit actionsChanged();
      }
      

      Attachments

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

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            jfaust Josh Faust
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes