I have an error when build project [utility, iterator and qglobal.h]
-
I found a mistake on the qt (both qt4 and qt5), when build project. I do not know where the mistake!
can anybody help me?I'm sorry for my bad english
message error :
!http://i47.tinypic.com/ranfk9.png(error 1)!
!http://i46.tinypic.com/vgosh3.png(error2)! -
You've got an error in your code :)
Seriously, without your code what more can anybody tell you? -
Well, the errors do reside in the standard headers. It could be that:
- Your standard headers are messed up
- There is a problem with the way you are instantiating a template, and the error isn't being detected until reaching the standard headers
Judging from that first line of error output, it looks like you are using very old versions of the headers ("VC98"). I just did a google search for VC98 and one of the first results was this post, which makes me suspect that the headers that came with your compiler are bad:
http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/f107c9ea-43aa-479c-bea6-1dec36324b70This likely has nothing to do with Qt. What compiler version are you using?