Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
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
- is required for
-
QTBUG-134668 As a dev, I need a simple way to add a Qt Quick UI to my Python code
-
- In Progress
-