Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89505 Extend QProperty to cover the needs of qtbase and qtdeclarative
  3. QTBUG-85031

Investigate generating better error messages for QProperty ← Qt::makePropertyBinding assignment

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Unresolved
    • P3: Somewhat important
    • 6.1
    • None
    • None

    Description

      If we have a property

      QProperty<float>
      

      and assign a binding created by

      Qt::makePropertyBinding([](){ return 42; })
      

      we get an error, because of the float/integer mismatch. It is unlikely that we can fix the underlying problem, but maybe we can create a nicer error.

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            fabiankosmale Fabian Kosmale
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes