[PyQt] pyqtdeploy tutorial doesn't build on windows
MOHAMED BLACK
bl3a3ck at gmail.com
Mon Apr 14 20:23:43 BST 2014
hi,
i have error when building the "wiggly.py" tutorial
i'm on windows Xp Sp3
Vc 2010 Sp1
qt-opensource-windows-x86-msvc2010_opengl-5.2.1.exe
python-3.3.5.msi
sip-4.15.6-snapshot-efa359fde2a4 with static
PyQt-gpl-5.2.2-snapshot-e1ef73ca0fbd.zip with static
pip3 install pyqtdeploy v0.2 '4-14-2014'
all installation is OK
i successfully make the test.pdy and build the wiggly.pro
and run the 'qmake wiggly.pro'
but when run 'nmake' i got this error:
" "C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f
Makefile.Release
C:\Qt\Qt5.2.1\5.2.1\msvc2010_opengl\bin\rcc.exe -name pyqtdeploy
resources\pyqtdeploy.qrc -o release\qrc_pyqtdeploy.cpp
C:\Qt\Qt5.2.1\5.2.1\msvc2010_opengl\bin\rcc.exe -name stdlib
resources\stdlib.qrc -o release\qrc_stdlib.cpp
C:\Qt\Qt5.2.1\5.2.1\msvc2010_opengl\bin\rcc.exe -name site-packages
resources\site-packages.qrc -o release\qrc_site-packages.cpp
cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -W3 -DUNICODE -DWIN32
-DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG
-I"C:\Python33\include" -I"C:\Qt\Qt5.2.1\5.2.1\msvc2010_opengl\include"
-I"C:\Qt\Qt5.2.1\5.2.1\msvc2010_opengl\include\QtWidgets"
-I"C:\Qt\Qt5.2.1\5.2.1\msvc2010_opengl\include\QtGui"
-I"C:\Qt\Qt5.2.1\5.2.1\msvc2010_opengl\include\QtCore" -I"release"
-I"C:\Qt\Qt5.2.1\5.2.1\msvc2010_opengl\mkspecs\win32-msvc2010" -Forelease\
@C:\DOCUME~1\BH\LOCALS~1\Temp\nmB.tmp
main.c
pyqtdeploy_main.c
.\pyqtdeploy_main.c(93) : error C2275: 'wchar_t' : illegal use of this type
as an expression
c:\program files\microsoft visual studio
10.0\vc\include\codeanalysis\sourceannotations.h(35) : see declaration of
'wchar_t'
.\pyqtdeploy_main.c(93) : error C2065: 'w_argv' : undeclared identifier
.\pyqtdeploy_main.c(93) : error C2100: illegal indirection
.\pyqtdeploy_main.c(94) : error C2143: syntax error : missing ';' before
'type'
.\pyqtdeploy_main.c(95) : error C2143: syntax error : missing ';' before
'type'
.\pyqtdeploy_main.c(98) : error C2065: 'w_argv' : undeclared identifier
.\pyqtdeploy_main.c(98) : warning C4047: '=' : 'int' differs in levels of
indirection from 'void *'
.\pyqtdeploy_main.c(98) : warning C4047: '==' : 'int' differs in levels of
indirection from 'void *'
.\pyqtdeploy_main.c(104) : error C2065: 'w_argv' : undeclared identifier
.\pyqtdeploy_main.c(104) : error C2109: subscript requires array or pointer
type
.\pyqtdeploy_main.c(106) : error C2065: 'saved_locale' : undeclared
identifier
.\pyqtdeploy_main.c(106) : warning C4047: '=' : 'int' differs in levels of
indirection from 'char *'
.\pyqtdeploy_main.c(109) : error C2065: 'i' : undeclared identifier
.\pyqtdeploy_main.c(109) : error C2065: 'i' : undeclared identifier
.\pyqtdeploy_main.c(109) : error C2065: 'i' : undeclared identifier
.\pyqtdeploy_main.c(114) : error C2065: 'i' : undeclared identifier
.\pyqtdeploy_main.c(119) : error C2065: 'i' : undeclared identifier
.\pyqtdeploy_main.c(123) : error C2065: 'w_argv' : undeclared identifier
.\pyqtdeploy_main.c(123) : error C2065: 'i' : undeclared identifier
.\pyqtdeploy_main.c(123) : error C2109: subscript requires array or pointer
type
.\pyqtdeploy_main.c(129) : error C2065: 'w_argv' : undeclared identifier
.\pyqtdeploy_main.c(129) : error C2065: 'i' : undeclared identifier
.\pyqtdeploy_main.c(129) : error C2109: subscript requires array or pointer
type
.\pyqtdeploy_main.c(129) : error C2065: 'i' : undeclared identifier
.\pyqtdeploy_main.c(129) : warning C4133: 'function' : incompatible types -
from 'char *' to 'wchar_t *'
.\pyqtdeploy_main.c(129) : warning C4047: 'function' : 'const char *'
differs in levels of indirection from 'size_t'
.\pyqtdeploy_main.c(129) : warning C4024: 'mbstowcs' : different types for
formal and actual parameter 2
.\pyqtdeploy_main.c(129) : error C2198: 'mbstowcs' : too few arguments for
call
.\pyqtdeploy_main.c(131) : error C2065: 'i' : undeclared identifier
.\pyqtdeploy_main.c(136) : error C2065: 'saved_locale' : undeclared
identifier
.\pyqtdeploy_main.c(136) : warning C4047: 'function' : 'const char *'
differs in levels of indirection from 'int'
.\pyqtdeploy_main.c(136) : warning C4024: 'setlocale' : different types for
formal and actual parameter 2
.\pyqtdeploy_main.c(139) : error C2065: 'w_argv' : undeclared identifier
.\pyqtdeploy_main.c(139) : error C2109: subscript requires array or pointer
type
.\pyqtdeploy_main.c(139) : error C2198: 'Py_SetProgramName' : too few
arguments for call
.\pyqtdeploy_main.c(141) : error C2065: 'w_argv' : undeclared identifier
.\pyqtdeploy_main.c(141) : warning C4047: 'function' : 'wchar_t **' differs
in levels of indirection from 'int'
.\pyqtdeploy_main.c(141) : warning C4024: 'PySys_SetArgv' : different types
for formal and actual parameter 2
Generating Code...
"
all project attached
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140414/d9ecd3d0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deploy2.7z
Type: application/x-7z-compressed
Size: 69654 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140414/d9ecd3d0/attachment-0001.7z>
More information about the PyQt
mailing list