Details
-
User Story
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
-
6bd7fb491 (dev)
Description
Since the release of Qt, many people have been working in exposing the framework to other languages through Language Bindings. However, having a 1:1 binding to a new language might not be the best solution in all use cases, because it implies that a lot of Qt knowledge is necessary to build the app, which could be a step learning curve for people that's not familiarized with C++.
Why Python?
Qt already has an official set of bindings for Python, through the PySide module (part of the Qt for Python project), which is a great way of writing Qt applications in Python. However the amount of code necessary to create simple applications is too much compared to other native frameworks.
How to achieve this?
Relying on more idiomatic elements to simplify the process of having a Python backend to a Qt Quick application.
Attachments
Issue Links
- depends on
-
QTBUG-134685 QMLBridges: AutoQmlBridge()
-
- Reported
-
-
QTBUG-134761 QMLBridges: Register Slots
-
- Reported
-
-
QTBUG-134766 QMLBridges: Handle Properties
-
- Reported
-
-
QTBUG-134770 QMLBridges: Expose Signals
-
- Reported
-
-
QTBUG-134773 QMLBridges: Implement data method
-
- Reported
-
-
QTBUG-134777 QMLBridges: Handle types in Python
-
- Reported
-
-
QTBUG-136043 QtBridges: Create an independent Python package
-
- Reported
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-134668 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
615084,23 | QMLBridges: Add function AutoQmlBridge to the QML module | dev | pyside/pyside-setup | Status: NEW | 0 | 0 |
626849,11 | QMLBridges: Initialize MetaObjectBuilder | dev | pyside/pyside-setup | Status: NEW | 0 | 0 |
627412,16 | QMLBridges: Register public methods as slots | dev | pyside/pyside-setup | Status: NEW | 0 | 0 |
629447,14 | QMLBridges: Implement preliminary qt_metacall to handle callbacks | dev | pyside/pyside-setup | Status: NEW | 0 | 0 |
630668,8 | QMLBridges: Register the Python data model with QML Engine | dev | pyside/pyside-setup | Status: NEW | 0 | 0 |
631800,10 | QMLBridges: Add tests for slot calling | dev | pyside/pyside-setup | Status: NEW | 0 | 0 |