有没有人设法使用VS2008构建最新的QT(2009.04)?使用VS2008构建QT(2009.04)(在XP上)
我有运行以下命令建立QT
我配置QT问题:
C:\Qt\2009.04\qt>configure -no-sql-sqlite -no-qt3support -no-opengl -platform win32-msvc2008 -no-libtiff -no-dbus -no-phonon -no-phonon-backend -no-webkit
当我运行NMAKE,这是输出(只是错误之前)
.\tokenizer.cpp(477) : warning C4996: 'strcpy': This function or variable may be
unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECUR
E_NO_WARNINGS. See online help for details.
c:\VisualStudio_9.0\VC\INCLUDE\string.h(74) : see declaration of 'strcpy
'
.\tokenizer.cpp(560) : warning C4996: 'strcpy': This function or variable may be
unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECUR
E_NO_WARNINGS. See online help for details.
c:\VisualStudio_9.0\VC\INCLUDE\string.h(74) : see declaration of 'strcpy
'
.\tokenizer.cpp(561) : warning C4996: 'strcpy': This function or variable may be
unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECUR
E_NO_WARNINGS. See online help for details.
c:\VisualStudio_9.0\VC\INCLUDE\string.h(74) : see declaration of 'strcpy
'
tree.cpp
uncompressor.cpp
webxmlgenerator.cpp
.\webxmlgenerator.cpp(134) : warning C4065: switch statement contains 'default'
but no 'case' labels
yyindent.cpp
Generating Code...
link /LIBPATH:"c:\Qt\2009.04\qt\lib" /LIBPATH:"c:\Qt\2009.04\qt\lib" /NO
LOGO /INCREMENTAL:NO /SUBSYSTEM:CONSOLE /MANIFEST /MANIFESTFILE:"tmp\obj\release
_shared\qdoc3.intermediate.manifest" /OUT:release\qdoc3.exe @C:\DOCUME~1\NEILOS~
1\LOCALS~1\Temp\nm194F.tmp
mt.exe -nologo -manifest "tmp\obj\release_shared\qdoc3.intermediate.mani
fest" -outputresource:release\qdoc3.exe;1
有谁知道如何解决这个问题?有没有人设法使用VS2008在XP上构建QT?
这是错误还是警告? QT完成了建设吗? 这些警告是由于Visual Studio试图通过strcpy利用可能的漏洞来强化他们的软件以防止安全漏洞,并且提出了一个strcpy_s(其中s可能代表安全)。不幸的是,这是C++标准。 – Extrakun 2009-11-03 08:10:44
对不起,我已经离开了我的办公桌。它确实看起来像构建完成成功完成(我预计构建需要4个小时或更长时间 - 从我在网上阅读的文章 - 因为它只需要大约30分钟,我认为构建失败 - 尤其是,因为它已失败以前用另一个配置[config options]) – skyeagle 2009-11-03 21:29:26