[PyQt] [SIP]

Phil Thompson phil at riverbankcomputing.com
Thu Jun 12 09:48:41 BST 2014


On 12/06/2014 9:30 am, Kermit wrote:
> hi all,
> 
> i try to adapt the PyQt4 binding of QtWinMigrate to PyQt5
> 
> i use this QtWinMigrate in qt-solutions
> https://qt.gitorious.org/qt-solutions/qt-solutions/source/fd22bee22274975c56f1c10d87ee9fd2c0818f83:qtwinmigrate
> [1]
> 
> with this sip :
> https://github.com/glennra/PyQtWinMigrate [2]
> 
> it's works fine with PyQt4
> 
> but with PyQt5 ( after some adaptation of sip file like WFlag )
> 
> i loose some declaration -> HWND
> 
> i declare the plateform, but nothing change
> 
> sip -c . -I c:Python27sipPyQt5 -t WS_WIN QtWinMigrate.sip

PyQt5 doesn't implement HWND so you'll have to implement it yourself. 
You can use the definition in PyQt4.

Phil


More information about the PyQt mailing list