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

Unify the various type conversion code paths in the QML engine

XMLWordPrintable

      We have code attempting to do conversions in  ExecutionEngine::toVariant, ExecutionEngine::metaTypeFromJS, QQmlPropertyPrivate::write and also in the QQmlPropertyValidator.

       

      This is the cause of annoying inconsistencies, duplicated (but slightly different) code paths and generally terrible for maintenance.

       

      While there are different use cases which warrant different behaviour to some extent, we should unify this as much as possible (and then also document and exhaustively test it).

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

            qtqmlteam Qt Qml Team User
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes