Welcome @lilberick 🎉 🎊
Verify you are not a bot solving the captcha!
Remember to check the documentation page https://doc.qt.io/qtforpython/ and the wiki https://pyside.org if you have some questions.
30 July 2021
Welcome stas 🎉 🎊
Verify you are not a bot solving the captcha!
Remember to check the documentation page https://doc.qt.io/qtforpython/ and the wiki https://pyside.org if you have some questions.
Good afternoon, I have a specialized question. Is there a module in PySide2 (not PySide6) that allows you to run methods from exe and libraries, both compiled under Linux and under Windows. That is, something like QLibraries / cdll that cross-platform allows you to access any exe so dll by offset and work with it.
СтасGood afternoon, I have a specialized question. Is there a module in PySide2 (not PySide6) that allows you to run methods from exe and libraries, both compiled under Linux and under Windows. That is, something like QLibraries / cdll that cross-platform allows you to access any exe so dll by offset an
No. I don't believe so.
This is what Shiboken is used for - providing the python wrappers for C/C++ source code.
Though that is at the source level, not binary level.
СтасGood afternoon, I have a specialized question. Is there a module in PySide2 (not PySide6) that allows you to run methods from exe and libraries, both compiled under Linux and under Windows. That is, something like QLibraries / cdll that cross-platform allows you to access any exe so dll by offset an
I think you probably could load a library with QLibrary (I think there are python wrappers for that in PySide2), but once you have it loaded, you have no way to interact with the loaded library without bindings created.
If somehow you could make a call that constructs an object, if it's of a class that Qt defines and PySide2 has provided wrappers for, you could instruct Shiboken to provide you the pointer wrapped as the PySide2 type, and then use it in Python.
That's pretty difficult though, and it would be much better to write the Shiboken wrappers for the library sources in question.