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

[REG 5 → 6] const QHash & + QMetaType: potential issues

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15, 6.8
    • None

    Description

      We try to automatically register conversion functions from instances of container classes, if the template parameters are registered with the metatype type system.

      However, we don't necessarily have enough information at the point where `QVariant::fromValue` is called: There's no guarantee that a suitable qHash function is visible.

      Attachments

        1. 5vs6.tar.gz
          1 kB
        2. argh.tar.gz
          1.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes