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

[Regression] Comparing objects registered with qmlRegisterSingletonType in QML does not work anymore

    XMLWordPrintable

Details

    • a0dac9594b77d2cc83e373fe3641f0f212f05e29

    Description

      The attached code used to work in Qt 5.0, i.e. the output was
      TestUtil::setAux TestUtilAux(0x858480)
      TestUtil::aux TestUtilAux(0x858480)
      TestUtil::aux TestUtilAux(0x858480)
      foo.aux TestUtilAux(0x858480) b TestUtilAux(0x858480) foo.aux == b true

      now with Qt 5.2 the output is
      TestUtil::setAux TestUtilAux(0x1e96520)
      TestUtil::aux TestUtilAux(0x1e96520)
      TestUtil::aux TestUtilAux(0x1e96520)
      foo.aux TestUtilAux(0x1e96520) b TestUtilAux(0x1e96520) foo.aux == b false

      Attachments

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

        Activity

          People

            tsdgeos_canonical Albert Astals Cid (Canonical) (Inactive)
            tsdgeos_canonical Albert Astals Cid (Canonical) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes