XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Fix Version/s: 6.0.0
    • Component/s: Core: Object Model
    • Labels:
      None
    • Platform/s:
      All

      Description

      QVariant requires the use of the run-time registry based meta-type system. We should offer API in QMetaObject that allows avoiding this and instead uses for example std::any or a new custom Qt type. For example:

         // old
          QVariant data = object->property("name");
          object->setProperty("name", "test")
          // new
          std::any data = object->property("name");
          object->setProperty("name", "test");
      

      We also need the ability to convert between a QVariant and the new variant type. The new type should not do any implicit conversions.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            shausman Simon Hausmann
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes