Re:PyQt5 Tutorial: Create a Python GUI in 2018
by pknopf on Tuesday September 25, 2018 @01:39PM
(#18068573)
I built a C-layer myself for use with C#.
https://github.com/qmlnet/qmlnet
It worked out nicely.
Re:PyQt5 Tutorial: Create a Python GUI in 2018
by rhodysurf on Tuesday September 25, 2018 @02:45PM
(#18069232)
You can use rust https://github.com/KDE/rust-qt-binding-generator There are Go bindings floating around too
Re:PyQt5 Tutorial: Create a Python GUI in 2018
by kodablah on Tuesday September 25, 2018 @05:22PM
(#18070604)
Sure, I am familiar with them all (there's another decent Rust cpp gen one too). That's what I was alluding to with "I am aware of many efforts in many languages that just use the C++ API directly by essentially building their own C API layer." Unfortunately each binding has to do this themselves because there's not a blessed C API.
That I have to choose between C++ or Python makes it very difficult for many use cases in other languages. What essentially ends up happening is you create the UI in C++ then build a communication/bridge layer with your Go/Rust/JVM/etc app via C and the respective language's FFI features.