XMLWordPrintable

Details

    • Technical task
    • Resolution: Out of scope
    • P2: Important
    • 6.0.0
    • Core: Object Model
    • None
    • 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

            Unassigned Unassigned
            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