C++ 不能';t在mingW中构建PySide2

C++ 不能';t在mingW中构建PySide2,c++,windows,qt,mingw,pyside,C++,Windows,Qt,Mingw,Pyside,这是我第二天在建筑上工作 我无法在windows上通过mingW构建PySide2。(关于开发者订单) 资料来源和系统: Windows 10 x64 Qt5.6.1预构建:(Qt-opensource-windows-x86-mingw492-5.6.1-1.exe) mingw 4.9.2(包括在Qt:Qt5.6.1\Tools\mingw492_32中) perl(ActivePerl-5.24.0.2400) cmake(cmake-3.6.1-win32-x86) openssl和其

这是我第二天在建筑上工作

我无法在windows上通过mingW构建PySide2。(关于开发者订单)

资料来源和系统:

  • Windows 10 x64
  • Qt5.6.1预构建:(Qt-opensource-windows-x86-mingw492-5.6.1-1.exe)
  • mingw 4.9.2(包括在Qt:Qt5.6.1\Tools\mingw492_32中)
  • perl(ActivePerl-5.24.0.2400)
  • cmake(cmake-3.6.1-win32-x86)
  • openssl和其他需要的LIB
  • Pyside2上次回购()
(这些是构建PySide2的推荐版本) 下面几行是编译器的最后输出

[ 64%] Building CXX object tests/libsample/CMakeFiles/libsample.dir/templateptr.cpp.obj
[ 64%] Building CXX object tests/libsample/CMakeFiles/libsample.dir/transform.cpp.obj
In file included from C:\Qt\PySide2\pyside-setup\sources\shiboken2\tests\libsample\transform.cpp:28:0:
C:\Qt\PySide2\pyside-setup\sources\shiboken2\tests\libsample\transform.cpp:30:20: error: expected unqualified-id before 'sizeof'
 static inline bool isfinite(double a) { return _finite(a); }
                    ^
C:\Qt\PySide2\pyside-setup\sources\shiboken2\tests\libsample\transform.cpp:30:20: error: expected ')' before 'sizeof'
C:\Qt\PySide2\pyside-setup\sources\shiboken2\tests\libsample\transform.cpp:30:20: error: expected ')' before 'sizeof'
C:\Qt\PySide2\pyside-setup\sources\shiboken2\tests\libsample\transform.cpp:30:20: error: expected ')' before 'sizeof'
tests\libsample\CMakeFiles\libsample.dir\build.make:1137: recipe for target 'tests/libsample/CMakeFiles/libsample.dir/transform.cpp.obj' failed
mingw32-make[2]: *** [tests/libsample/CMakeFiles/libsample.dir/transform.cpp.obj] Error 1
CMakeFiles\Makefile2:3040: recipe for target 'tests/libsample/CMakeFiles/libsample.dir/all' failed
mingw32-make[1]: *** [tests/libsample/CMakeFiles/libsample.dir/all] Error 2
makefile:137: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
error: Error compiling shiboken2
正如您所见,它编译了高达64%的源代码,但在
\sources\shiboken2\tests\libsample\transform.cpp
上出现错误


提前感谢您的帮助。

目前PySide2不支持mingw。这方面也没有计划。@IronManMark20真的吗?所以我把时间浪费在,;谢谢mansadly是的,但是,如果你愿意,你可以随时查看他们是否会承诺支持它,但他们可能只是说他们不会支持它。@IronManMark20,你说得对,但我现在就需要它。我重新下载了2013版的Qt构建包,我正在尝试用VC++2012构建PySide2。如果它不起作用,那么我应该下载VS 2013 express(大约6.4 GB)并重做这项工作。更复杂的过程。我希望有PySide2二进制文件可以下载并专注于编码,实际上目前有一些PySide2不支持mingw。这方面也没有计划。@IronManMark20真的吗?所以我把时间浪费在,;谢谢mansadly是的,但是,如果你愿意,你可以随时查看他们是否会承诺支持它,但他们可能只是说他们不会支持它。@IronManMark20,你说得对,但我现在就需要它。我重新下载了2013版的Qt构建包,我正在尝试用VC++2012构建PySide2。如果它不起作用,那么我应该下载VS 2013 express(大约6.4 GB)并重做这项工作。更复杂的过程。我希望有PySide2二进制文件可以下载并专注于编码,实际上有一些