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

QtBridges-Python: Handle types in Python

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • Qt Bridges
    • None
    • fe8d14aa0 (dev), 58f04099a (dev)

      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.

        For Gerrit Dashboard: QTBUG-134777
        # Subject Branch Project Status CR V

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

              Created:
              Updated:

                There is 1 open Gerrit change