[PyQt] Compiling with mingw

Phil Thompson phil at riverbankcomputing.com
Tue Sep 4 13:42:33 BST 2018


On 4 Sep 2018, at 1:34 pm, Erik Janssens <erik.janssens at conceptive.be> wrote:
> 
> Hi,
> 
> I was able to compile PyQt5 with the mingw compiler
> that is included in the Windows install of the Qt
> development environment.
> 
> It's amazing how all of that worked more or less out of the box !
> 
> The only annoying part was the need to edit all generated .pro
> files, and add the '-lpython37' option to the linker to be able to link
> against libpython.
> 
> Is there a way to specify this during the configuration process ?

See the very end of this section...

http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#configuring-pyqt5

Phil


More information about the PyQt mailing list