[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Expose QOpenGLContext::getProcAddress?
From:       Georg Brandl <g.brandl () fz-juelich ! de>
Date:       2019-04-14 18:28:20
Message-ID: a8d32b44-8209-0d86-63f3-9969e3c9615e () fz-juelich ! de
[Download RAW message or body]

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    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic