[PySide] samplebindings with Ming32
alexandru.croitor at qt.io
Wed Aug 7 11:28:41 CEST 2019
Note that the binary wheels provided for Windows are built using Microsoft Visual Studio C++ Compiler. Any custom bindings you build have to use the same compiler.
You are using the MinGW compiler, thus you can't use the provided binary wheels. You would have to build PySide2 from sources with the MinGW compiler (which I don't think anyone tried yet) and also use Qt binaries that were built with the same MinGW version (or again, build them from sources).
> On 7. Aug 2019, at 11:21, Cristián Maureira-Fredes <Cristian.Maureira-Fredes at qt.io> wrote:
> On 8/6/19 9:52 PM, Miguel Alejandro Fernández wrote:
>> Hello, I have installed
>> *PySide2-5.13.0-5.13.0-cp35.cp36.cp37-none-win_amd64.whl* on my *Windows
>> 10 64 bits*, the python host is *python-3.7.3-amd64*.
>> *cmake-3.14.0-rc4-win64-x64*. *Qt5.11.1 ( mingw53_32 )*. *Mingw53_32*
>> from the Qt5 install dir.
>> when I build, the next mesage was printed:
>> Anybody can help me?
> Hello Miguel,
> I don't know if this will solve your issue, but please refer to the FAQ
> https://wiki.qt.io/Qt_for_Python#Frequently_Asked_Questions particularly:
> "Take into account that if you want to generate bindings for a Qt/C++
> project, the linking to the Qt shared libraries will be missing, and you
> will need to do this by hand. We recommend to build PySide2 from scratch
> to have everything properly linked."
> A couple of other things:
> - you need to have the same Qt and PySide2 version,
> - PySide2 was officially released with Qt 5.12, so any previous version
> of it (5.11.x) will not be compatible with the latest, so you will have
> better luck updating the Qt version to the latest, instead of trying to
> get PySide2 5.11.1
> Once you consider all these points,
> please let us know if the problem persist.
> Dr. Cristian Maureira-Fredes
> Software Engineer
> The Qt Company GmbH
> Erich-Thilo-Str. 10
> D-12489 Berlin
> Geschäftsführer: Mika Pälsi,
> Juha Varelius, Mika Harjuaho
> Sitz der Gesellschaft: Berlin,
> Registergericht: Amtsgericht
> Charlottenburg, HRB 144331 B
> PySide mailing list
> PySide at qt-project.org
More information about the PySide