我正在尝试使用QtSDK(Qt 4.7)为symbian编译cmake项目。 当我在Qt Creator中构建它时,我得到了这些错误:
C:/QtSDK/Symbian/SDKs/Symbian3Qt473/include/QtCore/qatomic_symbian.h:46: error: e32std.h:
No such file or directory
C:/QtSDK/Symbian/SDKs/Symbian3Qt473/include/QtCore/qatomic_symbian.h: In member
function 'bool QBasicAtomicInt::ref()':
C:/QtSDK/Symbian/SDKs/Symbian3Qt473/include/QtCore/qatomic_symbian.h:135: error: 'User'
has not been declared
C:/QtSDK/Symbian/SDKs/Symbian3Qt473/include/QtCore/qatomic_symbian.h:135: error: 'TInt' was not declared in this scope
C:/QtSDK/Symbian/SDKs/Symbian3Qt473/include/QtCore/qatomic_symbian.h:135: error: expected primary-expression before ')' token
C:/QtSDK/Symbian/SDKs/Symbian3Qt473/include/QtCore/qatomic_symbian.h: In member function 'bool QBasicAtomicInt::deref()':
C:/QtSDK/Symbian/SDKs/Symbian3Qt473/include/QtCore/qatomic_symbian.h:141: error: 'User' has not been declared
C:/QtSDK/Symbian/SDKs/Symbian3Qt473/include/QtCore/qatomic_symbian.h:141: error: 'TInt' was not declared in this scope
C:/QtSDK/Symbian/SDKs/Symbian3Qt473/include/QtCore/qatomic_symbian.h:141: error: expected primary-expression before ')' token
我已经检查过e32std.h存在于C:\ QtSDK \ Symbian \ SDKs \ Symbian3Qt473 \ epoc32 \ include 但仍然会发生这些错误。
在我看来,cmake无法找到正确的编译架构。 我正在使用cmake for windows。
可能是什么问题?