'Creating Python bindings for a large quantity of C++ Qt Libraries
Question in short:
Do you maybe know, or have any idea how I could implement the below mentioned, existing libraries in Python
, whether that be through bindings or any other possible solution?
Description:
I'm working on a project and I have a very large quantity of custom built, fast-changing C++ Qt Libraries
(version 5.15.2) that I need to use in Python
.
I have done a lot of research on the topic over the past few weeks. However I can't seem to find a suitable solution on how to perform the bindings in an appropriate way.
I have mainly researched Shiboken
, as that is the python bindings solution that the Qt Framework
officially supports and encourages.
However Shiboken
requires me to handwrite a type-system and header file for each library with each method or required part of that library that I want to use in my bindings. This is an issue for me as I require every method that is present in the C++
version to be present in the Python
version, and hand writing that file is practically impossible.
They will need to be called from Python scripts as any other library would, or in a similar manner.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|