[PyQt] Creating a QWinmigrate mofules for PyQt5 using SIP

Andrew Cunningham pyqt at a-cunningham.com
Tue Jun 19 22:31:17 BST 2018


Tried that, no luck either.

On Mon, Jun 18, 2018 at 10:05 AM, Phil Thompson <phil at riverbankcomputing.com
> wrote:

> On 18 Jun 2018, at 5:18 pm, Andrew Cunningham <pyqt at a-cunningham.com>
> wrote:
> >
> > Hi Phil,
> > I tried that ,
> > py> QtCore.PYQT_CONFIGURATION
> > {'sip_flags': '-t WS_WIN -t Qt_5_7_0'}
> >
> > And in configure.py
> >
> > sip_cmd = " ".join([
> >     config.sip_bin,"-c", ".", "-b", build_file,
> >     "-t", "WS_WIN", "-t", "Qt_5_7_0",
> >     basename + ".sip"
> > ])
> >
> > I still get
> > sip: HWND is undefined
> >
> > My .sip files looks like this, should I be adding something else?
> >
> > %Module QtWinMigrate 0
> >
> > %Platforms {WS_WIN}
>
> Remove the above line, although I'm not sure if it will make a difference.
>
> Phil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180619/cd576b7c/attachment.html>


More information about the PyQt mailing list