[PyQt] SIP "-Zc:wchar_t-" to "-Zc:wchar_t"

Kund Gordos gordos.kund at gmail.com
Mon Apr 9 11:06:39 BST 2018


Hi!

If I try to compile my own Qt related dll as python module, I will receive
QChar and wchar_t errors in SIP generated files.
Qt version: 5.10.1 / SIP version: 4.19.8 / PyQt5 version 5.10.1.

I have spent a lot of time with debugging and I have found a solution:
If I replace "-Zc:wchar_t-" to "-Zc:wchar_t" in two places in sipconfig.py
file it will be compiled well.

Please change these compiler flags in next releases!

Thank You!

Kund
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180409/14b1799a/attachment.html>


More information about the PyQt mailing list