• 6637阅读
  • 2回复

请各位高手支招! [复制链接]

上一主题 下一主题
离线wxr159835
 
只看楼主 倒序阅读 楼主  发表于: 2010-06-22
关键词: 求助QT4Qt环境
这是我的dialog程序 QDialog.rar (8 K) 下载次数:2 我照书上写了一个非常简单的程序,结果却报了如下错误,我实在不知道怎么做,请各位帮忙!谢谢!
E:\QtIDEinstallation\MinGW\include\c++\3.4.5/bits/cpp_type_traits.h:334: error: expected identifier before '__is_pod'

E:\QtIDEinstallation\MinGW\include\c++\3.4.5/bits/stl_tree.h:334: error: declaration of 'typedef struct
std::_Rb_tree_node<_Val> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_node'

E:\QtIDEinstallation\MinGW\include\c++\3.4.5/bits/stl_tree.h:395: error: expected unqualified-id before '__is_pod'

E:\QtIDEinstallation\MinGW\include\c++\3.4.5/bits/stl_tree.h:575: error: request for member '_M_key_compare' in '((const
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>*)this)->std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_M_impl', which is of non-class type 'const int'

………
……
几十条关于stl_tree.h的错;

还有我的tools-->options-->Qt4-->Qt versions的auto-detected的debugging helper是个“X”。

我不知道怎么改?请赐教!
离线wd007

只看该作者 1楼 发表于: 2010-06-22
你配置的Qt环境可能有问题。

欢迎访问我的博客,一起学习提高
http://blog.csdn.net/qter_wd007
离线wxr159835
只看该作者 2楼 发表于: 2010-06-27
回 1楼(wd007) 的帖子
我重装了,问题解决了,谢谢!
快速回复
限100 字节
 
上一个 下一个