3 ms·
A modern, powerful memory safe language? C++ is hardly a good choice for making casual small GUI apps.
by quantummkv 6y ago
A modern, powerful memory safe language? C++ is hardly a good choice for making casual small GUI apps.
- Barrin92 6y agoexcept for the documentation the python (pyside2) bindings seem pretty complete.
- Memosyne 6y agoQml supports ES7 so you only really need to touch C++ if you're not making "casual small GUI apps". If you need to draw custom items or do low level networking then yeah you need to use C++ but even then Qt is much friendlier than using the standard libraries. Here is a Qt C++ example: QString str = "/a/b/c/"; auto parts = str.split('/');
- viraptor 6y agoLike Crystal, Go and Rust? (and QML for the basic events handling) https://en.wikipedia.org/wiki/List_of_language_bindings_for_Qt_5 https://en.wikipedia.org/wiki/List_of_language_bindings_for_...
- foldr 6y agoHave you made any non-trivial use of the Qt bindings for those languages? Qt is a big and complex library, and most bindings are incomplete or poorly documented. As far as I know, PyQt is the only Qt binding is the only one that you can really rely on to work now and in the future.
- SitiSchu 6y agoThere is PySide2/Qt for Python which are the official Python bindings for Qt by the Qt Company itself and they are close enough to the C++ API(since they are auto-generated) that it's possible to just use the C++ documentation and translate any C++ code into python nearly 1:1 (except things like QString where you can just use Pythons native types).
- viraptor 6y agoNot terribly complex, but not trivial either. Yes, there are missing pieces in non-python ones. But given that basics are handled, it's often pretty easy to add the pieces which you need.
- pjmlp 6y agoDepends, if you are coding C in C++, or making use of idiomatic C++17 (eventually C++20).