我按照论坛上面的步骤,一步一步的装,大家帮忙看看,看我的安装步骤是否有误,我的是VC6:
第1步:安装论坛置顶贴里面的Dev-cpp。
第2步:安装论坛置顶贴里面的minGW。
第3步:释放QT4.1.2的安装文件到C:\QT\4.1.2
第4步:释放QT4的补丁到C:\QT\4.1.2
第5步:在DOS提示符下运行vcvars32.bat
第6步:在DOS提示符下运行NMAKE/?
第7步:在DOS提示符下运行installpatch411.bat
第8步:在DOS提示符下运行qconfigure.bat msvc -release -no-stl
第9步:在DOS提示符下运行NMAKE
第9步只运行了大概三四分钟后,就报错终止了,错误如下:
styles\qwindowsxpstyle.cpp(168) : error C2065: 'HTHEME' : undeclared identifier
styles\qwindowsxpstyle.cpp(168) : error C2146: syntax error : missing ')' before identifier 'hTheme'
styles\qwindowsxpstyle.cpp(168) : error C2165: 'left-side modifier' : cannot modify pointers to data
styles\qwindowsxpstyle.cpp(168) : error C2071: 'PtrGetThemePartSize' : illegal storage class
styles\qwindowsxpstyle.cpp(168) : error C2059: syntax error : ')'
styles\qwindowsxpstyle.cpp(169) : error C2059: syntax error : '__stdcall'
styles\qwindowsxpstyle.cpp(169) : error C2091: function returns function
styles\qwindowsxpstyle.cpp(169) : error C2378: 'HTHEME' : redefinition; symbol cannot be overloaded with a typedef
styles\qwindowsxpstyle.cpp(170) : error C2146: syntax error : missing ')' before identifier 'hTheme'
styles\qwindowsxpstyle.cpp(170) : error C2165: 'left-side modifier' : cannot modify pointers to data
styles\qwindowsxpstyle.cpp(170) : error C2071: 'PtrCloseThemeData' : illegal storage class
styles\qwindowsxpstyle.cpp(170) : error C2059: syntax error : ')'
styles\qwindowsxpstyle.cpp(171) : error C2146: syntax error : missing ')' before identifier 'hTheme'
styles\qwindowsxpstyle.cpp(171) : error C2165: 'left-side modifier' : cannot modify pointers to data
styles\qwindowsxpstyle.cpp(171) : error C2071: 'PtrDrawThemeBackground' : illegal storage class
styles\qwindowsxpstyle.cpp(171) : error C2059: syntax error : ')'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio\VC98\Bin\N
MAKE.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
请问这是什么问题呀,把我快急死了,搞了一个晚上,一点收获都没有!
[ 此贴被XChinux在2006-05-07 22:38重新编辑 ]