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

QPropertyAlias::addNotifier() is ill-formed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.1, 6.6.0
    • 6.4.2
    • Core: Other
    • None
    • 17c9001a5 (dev), b8a702a8f (6.5)

    Description

      #include <QtCore/QPropertyAlias>
      
      auto main() -> int
      {
          QProperty<int> prop{1};
          QPropertyAlias<int> alias{&prop};
          (void)alias.addNotifier([]{});
          return 0;
      }
      

      When you comile this code, you will see the error message from compiler which tells that notify is not a member of QBindable<T>.

      Attachments

        For Gerrit Dashboard: QTBUG-111735
        # Subject Branch Project Status CR V

        Activity

          People

            fabiankosmale Fabian Kosmale
            xylosper Byoung-young Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes