[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: QImage.fromHICON missing
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2022-12-04 10:26:27
Message-ID: 5801f4e3c14638a5b628a7f7d043e6e6 () riverbankcomputing ! com
[Download RAW message or body]
On 29/11/2022 16:12, Kovid Goyal wrote:
> Hi Phil,
>
> QImage::fromHICON seems to not be wrapped.
>
> python -c "from PyQt6.QtGui import QImage; QImage.fromHICON"
>
> AttributeError: type object 'QImage' has no attribute 'fromHICON'
>
> This is using a custom compiled Qt6 and PyQt6. Is there something
> special I need to have this static function available? It's part of the
> QImage non-deprecated API
> https://doc.qt.io/qt-6/qimage.html#fromHICON
PyQt5 defines HICON as an opaque type. Is this sufficient for your
usage?
Phil
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic