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

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes