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

QMLBridges: Handle types in Python

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • QML: Bridges
    • None

    Description

      Among the languages considered for QML Bridges, Python is the only dynamically typed language. But, to interact with QML we need a way to identify the type of the Python parameters. One way to do this is to enforce the user to specify type hints so that it can be converted to the corresponding type recognized by QML. This is however too restrictive considering Python is a dynamically typed language. Alternate possibilities are being researched where a generic type can be used.

      Both cases should be implemented i.e. if the user specifies type hitns, convert that Python type to C++ type or a type recognized by QML. Otherwise, fall back to a generic type.

      Attachments

        Issue Links

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

          Activity

            People

              shpremna Shyamnath Premnadh
              shpremna Shyamnath Premnadh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes