我参考了一些包含对平台sdk的依赖的包含。当我将下面的行添加到我的QT造物主临文件,并尝试编译它抛出混乱的错误:在QT Creator中包含Platform SDK
INCLUDEPATH += "C:\Program Files\Microsoft Platform SDK\Include"
的错误是:
c:\Program Files\Microsoft Platform SDK\Include/winnt.h:666: error: #error Must define a target architecture.
c:\Program Files\Microsoft Platform SDK\Include/oaidl.h:442: error: pasting "/" and "/" does not give a valid preprocessing token
c:\Program Files\Microsoft Platform SDK\Include/oaidl.h:457: error: pasting "/" and "/" does not give a valid preprocessing token
c:\Program Files\Microsoft Platform SDK\Include/propidl.h:310: error: pasting "/" and "/" does not give a valid preprocessing token
c:\Program Files\Microsoft Platform SDK\Include/oaidl.h:442: error: expected unqualified-id before '/' token
c:\Program Files\Microsoft Platform SDK\Include/oaidl.h:457: error: expected unqualified-id before '/' token
c:\Program Files\Microsoft Platform SDK\Include/propidl.h:310: error: expected unqualified-id before '/' token
任何帮助是极大的赞赏
这没有帮助的情况,但谢谢你的想法。 – Rufius 2010-11-09 17:03:56