Re: Expose QOpenGLContext::getProcAddress?

Georg Brandl <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
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
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.