<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I am trying to create a python binding for the <a
href="https://qt.gitorious.org/qt-solutions/qt-solutions/source/67a72e3bc2e49ffc9e99b9845b1c314bf86f6941:qtwinmigrate">QtWinMigrate
</a>library on Windows, but I am having problems with the final
steps.<br>
I managed to build sip, Qt 4.8.5 and PyQt 4.11.3. There are existing
sip files for QtWinMigrate at: <a
href="https://github.com/glennra/PyQtWinMigrate">https://github.com/glennra/PyQtWinMigrate</a><br>
<br>
Now here is the part I am not really sure about:<br>
<br>
I copied the sip files to: C:\PyQt-win-gpl-4.11.3\sip and tried to
run:<br>
<font color="#3333ff">cd C:\PyQt-win-gpl-4.11.3\sip<br>
sip -c . -I . QtWinMigrate.sip</font><br>
<br>
Which fails with:<br>
<font color="#cc0000">sip: Q_PID is undefined</font><br>
<br>
I then tried:<br>
<font color="#3333ff">sip -c . -I . -t WS_WIN QtWinMigrate.sip</font><br>
<br>
Which fails with:<br>
<font color="#cc0000">sip: HWND is undefined</font><br>
<br>
So either way something is missing and I have no idea how to add it.<br>
<br>
Any ideas what I am doing wrong?<br>
<br>
Cheers,<br>
Chris<br>
</body>
</html>