<div style="color:#000; font-size: 14px;font-family: arial;"><div>Yes, I tested my project both <span style="line-height: 23.8px;">with</span><span style="line-height: 1.7;"> </span><span style="line-height: 23.8px;"> </span><span style="line-height: 23.8px;">MinGW and nmake.</span></div><div><span style="line-height: 23.8px;">In the first method , I used </span><span style="line-height: 23.8px;">nmake, while in the second(build with Qt Creator) , it used </span><span style="line-height: 23.8px;">MinGW</span><span style="line-height: 23.8px;"> , however , both encountered  with the same error , so please see if the </span><span style="line-height: 23.8px;">problems</span><span style="line-height: 23.8px;"> within </span><span style="line-height: 23.8px;"> </span><span style="line-height: 23.8px;">pyqtdeploy.</span></div><div><span style="line-height: 23.8px;">BTW, I don't understand what you mean by "</span><span style="line-height: 23.8px;">pyqtdeploy has yet to be updated for PyQt v5.7</span><span style="line-height: 23.8px;">", I installed  </span><span style="line-height: 23.8px;">pyqtdeploy</span><span style="line-height: 23.8px;"> via PyPi using the pip3 command yesterday. </span></div><div><br></div><div><br></div><div><br></div></div><!-- jy5ContentSuffix --><div>在2016年07月29 00时07分, "Phil Thompson"<phil@riverbankcomputing.com>写道:</div><blockquote id="isReplyContent" style="padding-left:1ex; margin: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>On 28 Jul 2016, at 4:31 pm, Zhao Lee <<a href="mailto:redstone-cold@163.com">redstone-cold@163.com</a>> wrote:<br>> <br>> I am using pyqtdeploy to deployment my PyQt5 application on win7,<br>> Working environment :<br>> OS: Win7 sp1 x86<br>> latest version of pyqt5,sip, pyqtdeploy installed using pip<br>> python 3.5.1<br>> qt-opensource-windows-x86-mingw530-5.7.0.exe <br>> <br>> <br>>  after built the application code and the qmake .pro file, the qmake command get succeed , <br>> <undefined><br>> <br>> <br>> however, when run  nmake command , I got following error <br>> <br>> C:\Qt\SYSROOT\project\build>qmake<br>> Info: creating stash file C:\Qt\SYSROOT\project\build\.qmake.stash<br>> <br>> C:\Qt\SYSROOT\project\build>nmake<br>> <br>> Microsoft (R) Program Maintenance Utility Version 14.00.24210.0<br>> Copyright (C) Microsoft Corporation. All rights reserved.<br>> <br>>        "C:\Program Files\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe" -f Make<br>> file.Release<br>> <br>> Microsoft (R) Program Maintenance Utility Version 14.00.24210.0<br>> Copyright (C) Microsoft Corporation. All rights reserved.<br>> <br>>        g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -frtti -fexc<br>> eptions -mthreads -DPYQTDEPLOY_FROZEN_MAIN -DPYQTDEPLOY_OPTIMIZED -DMS_WINDOWS -<br>> D_WIN32_WINNT=Py_WINVER -DNTDDI_VERSION=Py_NTDDI -DWINVER=Py_WINVER -DQT_NO_DEBU<br>> G -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. -I..\..\..\..<br>> \Users\i\AppData\Local\Programs\Python\Python35-32\include -I..\..\..\Qt5.7.0\5.<br>> 7\mingw53_32\include -I..\..\..\Qt5.7.0\5.7\mingw53_32\include\QtWidgets -I..\..<br>> \..\Qt5.7.0\5.7\mingw53_32\include\QtGui -I..\..\..\Qt5.7.0\5.7\mingw53_32\inclu<br>> de\QtANGLE -I..\..\..\Qt5.7.0\5.7\mingw53_32\include\QtCore -Irelease -I..\..\..<br>> \Qt5.7.0\5.7\mingw53_32\mkspecs\win32-g++ -o release\pyqtdeploy_main.o pyqtdeplo<br>> y_main.cpp<br>> In file included from C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/c<br>> ++/random:38:0,<br>>                 from C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/c<br>> ++/bits/stl_algo.h:66,<br>>                 from C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/c<br>> ++/algorithm:62,<br>>                 from C:/Qt/Qt5.7.0/5.7/mingw53_32/include/QtCore/qglobal.h:94,<br>>                 from C:/Qt/Qt5.7.0/5.7/mingw53_32/include/QtCore/QtGlobal:1,<br>>                 from pyqtdeploy_main.cpp:2:<br>> C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/c++/cmath:1119:11: erro<br>> r: '::hypot' has not been declared<br>>   using ::hypot;<br>>           ^<br>> In file included from C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/o<br>> bjbase.h:14:0,<br>>                 from C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/o<br>> le2.h:17,<br>>                 from C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/w<br>> types.h:12,<br>>                 from C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/w<br>> inscard.h:10,<br>>                 from C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/w<br>> indows.h:97,<br>>                 from pyqtdeploy_main.cpp:62:<br>> C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/combaseapi.h:230:79: er<br>> ror: 'SOLE_AUTHENTICATION_SERVICE' has not been declared<br>> WINOLEAPI CoInitializeSecurity (PSECURITY_DESCRIPTOR pSecDesc, LONG cAuthSvc, S<br>> OLE_AUTHENTICATION_SERVICE *asAuthSvc, void *pReserved1, DWORD dwAuthnLevel, DWO<br>> RD dwImpLevel, void *pAuthList, DWORD dwCapabilities, void *pReserved3);<br>>                                                                               ^<br>> <br>> C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/combaseapi.h:255:60: er<br>> ror: 'SOLE_AUTHENTICATION_SERVICE' has not been declared<br>> WINOLEAPI CoQueryAuthenticationServices (DWORD *pcAuthSvc, SOLE_AUTHENTICATION_<br>> SERVICE **asAuthSvc);<br>>                                                            ^<br>> NMAKE : fatal error U1077: “C:\Qt\Qt5.7.0\Tools\mingw530_32\bin\g++.EXE”: return code “0x1”<br>> Stop.<br>> NMAKE : fatal error U1077: “"C:\Program Files\Microsoft Visual Studio 14.0\VC\B<br>> IN\nmake.exe"”: return code “0x2”<br>> Stop.<br>> <br>> C:\Qt\SYSROOT\project\build><br>> <br>> <undefined><br>> (1) any way to fix the problem ?<br>> (2)  after built the application code and the qmake .pro file, if everything is ok, I think we can use Qt Creator to open and run  the generated project ,  is the deduction right ? so when I run the project , I nearly get the same error like above <br>> <br>> my project files here https://drive.google.com/file/d/0B0yEgmz6VGdzYWE3cHBQc0VNQXc/view?usp=sharing<br>> <br>> <undefined><br><br>You are using MinGW but also nmake?<br><br>I don't use MinGW so I don't know if pyqtdeploy has problems with it.<br><br>pyqtdeploy has yet to be updated for PyQt v5.7.<br><br></blockquote><br><br><span title="neteasefooter"><p> </p></span>