[PyQt] Expose QOpenGLContext::getProcAddress?

Georg Brandl g.brandl at fz-juelich.de
Sun Apr 14 19:28:20 BST 2019


On 4/13/19 10:19 PM, Phil Thompson wrote:

>>> I understand how it is supposed to work but PyQt doesn't support the
>>> calling of arbitrary addresses even though the inclusion of
>>> getProcAddress() might suggest otherwise.
>>
>> That doesn't matter for my case, I don't need to call the function
>> pointer from Python. Just need to pass it down to the Rust code, which
>> knows how to use it. As I said, it works fine with the equivalent
>> method on the legacy class.
>
> Sorry I hadn't realised the legacy class worked. Try the next snapshot
> (untested).

Tested and works, thank you very much!

Georg


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------



More information about the PyQt mailing list