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

QMetaObjectBuilder creates broken QMetaObjects when a NOTIFY signal from a parent class is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.11.0
    • Core: Other
    • None

    Description

      Create a class which has a property and is derived from another class. The property in the derived class uses a NOTIFY signal from the base class.

      When this class is used as a prototype for the QMetaObjectBuilder the created QMetaObject is broken.

      This bug is related to the following change: https://codereview.qt-project.org/#/c/188082/

      I already started to fix the problem, but i'm getting into an area where i need to have a deeper understanding of the internal moc format, as the notifySignal needs to be added to the stringdata as well. I attached my WIP patch which already adds an autotest and also has the logic for identifying the signal.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            gagi Dominik Holland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes