[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] SIP "-Zc:wchar_t-" to "-Zc:wchar_t"
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2018-04-09 17:57:22
Message-ID: 235E44F4-5BF4-450A-9710-705CE9C1F5A6 () riverbankcomputing ! com
[Download RAW message or body]

On 9 Apr 2018, at 11:06 am, Kund Gordos <gordos.kund@gmail.com> wrote:
> 
> 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!

sipconfig.py is deprecated. The current values are correct for Qt4 but incorrect for \
Qt5. Your best bet is to import sysconfig then fix the data structures.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic