[PyQt] Simple Examples for using SIP with PyQt5

Robert Kent rob at gulon.co.uk
Thu Aug 27 11:48:00 BST 2015


Thanks Phil. Do I need to build my bindings with the same compiler or should be able to do this with mingw?
Cheers, Rob

> On 27 Aug 2015, at 11:38, Phil Thompson <phil at riverbankcomputing.com> wrote:
> 
>> 
>> On 27 Aug 2015, at 11:08 am, Robert Kent <rob at gulon.co.uk> wrote:
>> 
>> Hi All,
>> 
>> Further to my previous, I’ve just successfully created and tested wrapping a non-Qt C++ class using the same basic template that I am using to create the Qt example (including using ‘qmake’ etc.) and it works just fine. I’ve put the example on github for reference (https://github.com/jazzycamel/PyTestObject). This proves (to me at least!) that my basic approach is correct and that my issue is with linking to the Qt libraries and not with the actual build process. 
>> 
>> So, this leads me to pose so the same question(s) as before: I am building with mingw32 (g++) and I installed PyQt5 from the binary. What are the prebuilt PyQt5 bindings built with (Visual Studio?) and if this is not mingw32 would this explain my ‘missing procedure’ issue? I.e. do I need to build my bindings with the same compiler as PyQt5 if I’m not already?
> 
> The binaries are built with the same compilers used to build the corresponding version of Python - MSVC 2008 for Python v2 and MSVC 2010 for Python v3.
> 
> Phil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150827/50b5e704/attachment.html>


More information about the PyQt mailing list