[PyQt] Creating a QWinmigrate mofules for PyQt5 using SIP
    Phil Thompson 
    phil at riverbankcomputing.com
       
    Sat Jun 16 17:38:45 BST 2018
    
    
  
On 15 Jun 2018, at 9:27 pm, Andrew Cunningham <pyqt at a-cunningham.com> wrote:
> 
> HI,
> 
> I am trying to create a QWinMigrate module using SIP for Qt5.7 I followed the instructions on https://cbuelter.wordpress.com/2015/02/11/compiling-pyqt-and-qtwinmigrate-for-3ds-max-2015/3/
> 
> But I am stuck at the SIP step. I had to modify the .sip file for QT5
> %Import QtCore/QtCoremod.sip
> %Import QtGui/QtGuimod.sip
> %Import QtWidgets/QtWidgetsmod.sip
> 
> But I still get the error message 
> sip: HWND is undefined
You have to use the same -t and -x flags that were used to build the copy of PyQt5 you are building against. The only way to find these is to introspect PyQt5 using...
http://pyqt.sourceforge.net/Docs/PyQt5/extension_api.html#python-api
Phil
    
    
More information about the PyQt
mailing list