Unsolved Running a python file from a qml button
-
I am new in dealing with Qt and i would like to run a python file by clicking a qml button so anybody know how can i do it?
Thanks in advance -
@Momoo
In some shape or form, you will need to make your button's click action execute code which calls http://doc.qt.io/qt-5/qprocess.html functions, e.g.QProcess::execute()
. -
@Momoo
Do you want to run a python script with an embedded interpreter in your process? Or just run a python script as an external process?