I have a C++ application that I'm compiling with Visual Studio 2010 that needs to be able to call a couple python scripts and read their output, but I can't count on Python being installed on the computer. PythonQt seems to be the favored simple option, but every post I've seen is dated 2009 or older. The main tutorial even still says TrollTech on it.
This makes me think that this methodology/class is dated or perhaps deprecated. Is boost::Python the way to go now, or does PythonQt still do the trick, or should I just embed Python the normal C++ way like everyone else?
Qt and its Python bindings are widely used in the film and video game industries. Not to create the games and movies directly, but to create and extend applications for the artists to use.
The latest iteration of PyQt is v5. 11.3. It fully supports Qt 5.11.
No, you must buy a PyQt commercial license for commercial use. A possible alternative is to switch to PySide2, also known as Qt for Python. This comes from the same company as Qt itself, and is licensed under GPL/LGPL/Commercial, also the same as Qt itself.
PyQt is a Python binding for Qt, which is a set of C++ libraries and development tools providing platform-independent abstractions for graphical user interfaces (GUIs). Qt also provides tools for networking, threads, regular expressions, SQL databases, SVG, OpenGL, XML, and many other powerful features.
PythonQt is under active development, PythonQt 3.0 with Qt 5 and Python 3 support has just been released. Have a look at the PythonQt project page at Sourceforge.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With