Run some python code from qml button onClicked?
Unsolved
QML and Qt Quick
-
@ViGor I don't know if this will fit your requirements but it might be worth looking at PySide, which is a Python-based exposure of Qt. It would probably mean writing your application in Python but I believe that this approach would provide a mechanism for calling from QML to Python, by exposing a slot from Python in the same way that in a C++-based QML project one can interact with slots in the C++ back end. I have no experience of PySide but thought it was worth mentioning in case it might work for you.