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

calling setBinding has not the intended effect

    XMLWordPrintable

Details

    • c88905f0a947d59c61d9f0f990354ca935d3d4ed (qt/qtbase/dev) 597f0d9681f22f564d249b14d39b13221161ab53 (qt/qtbase/6.0)

    Description

      Having an object t with a bindable X and having a QProperty foo, one could expect calling

      t.bindableX().setBinding(foo)

      to bind X to foo. But this does not happen.

      t.bindableX().setBinding(Qt::makePropertyBinding(foo))

      works.

      Attachments

        1. CMakeLists.txt
          0.4 kB
        2. main.cpp
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            fabiankosmale Fabian Kosmale
            andreasbuhr Andreas Buhr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes