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

List:       pykde
Subject:    Re: [PyQt] Creating a QWinmigrate mofules for PyQt5 using SIP
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2018-06-21 20:36:19
Message-ID: 82017C37-C9FC-4A21-962A-CFB6D0A79B8B () riverbankcomputing ! com
[Download RAW message or body]

On 20 Jun 2018, at 5:58 pm, Andrew Cunningham <pyqt@a-cunningham.com> wrote:
> 
> I eventually solved the issue by just replacing HWND with long

My previous suggestions were based on the (incorrect) assumption that PyQt5 defined \
HWND. PyQt4 does, but PyQt5 doesn't.

The correct answer is the add something like...

typedef struct HWND__ *HWND;

...to the .sip file.

Phil
_______________________________________________
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