[PyQt] Simple Examples for using SIP with PyQt5
Robert Kent
rob at gulon.co.uk
Thu Aug 27 11:08:34 BST 2015
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 <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?
Cheers, Rob
> On 27 Aug 2015, at 08:19, Robert Kent <rob at gulon.co.uk> wrote:
>
>
> Hi Michael,
>
> That was actually my first port of call and everything looks OK. I actually compared it to the QScintilla pyd and the only difference I could see was the format of the symbol mangling. I'm wondering if its an issue of compiler incompatability (I'm using mingw, does PyQt use Visual Studio?) as the complaint is about a missing procedure rather than module?
>
> All thoughts gratefully received.
>
> Cheers, Rob
>
> Sent from my Sony Xperia Z1 Compact on O2
>
>
>
> ---- Original Message ----
> Subject: Re: [PyQt] Simple Examples for using SIP with PyQt5
> Sent: 27 Aug 2015 08:16
> From: Robert Kent <rob at gulon.co.uk>
> To: michael h <michaelkenth at gmail.com>
> Cc:
>
> Hi Michael,
>
> That was actually my first port of call and everything looks OK. I actually compared it to the QScintilla pyd and the only difference I could see was the format of the symbol mangling. I'm wondering if its an issue of compiler incompatability (I'm using mingw, does PyQt use Visual Studio?) as the complaint is about a missing procedure rather than module?
>
> All thoughts gratefully received.
>
> Cheers, Rob
>
> Sent from my Sony Xperia Z1 Compact on O2
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150827/aadff9e4/attachment-0001.html>
More information about the PyQt
mailing list