Companion repository of this blog.
Each example is self-contained and features a particular pattern or an elegant
solution to a common problem. If the code isn't self-explanatory then visit the
specific blog post linked in each code example's README.md
for more
information.
- src/app-template
- src/qml-properties
- src/qml-factory
- src/qml-actions
- src/qml-action-decorator
- src/qml-zoomable-image
- src/qml-control
Create a Python environment and install PySide6:
$ cd path/to/my/project
$ python3 -m venv env
$ . ./env/bin/activate
$ (env) pip install PySide6
Then run any example like so:
$ (env) cd path/to/example
$ (env) python3 main.py