Unsolved Hi ! I want to use python script in QML C++ project is it impossible ?
-
Hi ! I want to use python script in QML C++ project is it impossible ?
-
Hi and welcome to devnet,
Do you mean something similar to what's described here ?
-
thx SGaist. i mean like qml and c++ integration.
i want to call pyhton function or class in qml or c++ -
@Mehmet-AK
Hi
I doubt its possible to call python inside QML but its surely is from c++
Besides the native embeddable way as @SGaist links to
there is also
http://pybind11.readthedocs.io/en/master/advanced/embedding.html
Which is slightly more high level in my opinion.
It does however use Cmake and requires a modern compiler. -
@mrjj thx mrjj .