Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. I have an error when build project [utility, iterator and qglobal.h]
Forum Update on Monday, May 27th 2025

I have an error when build project [utility, iterator and qglobal.h]

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AdithMD
    wrote on last edited by
    #1

    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)!

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You've got an error in your code :)
      Seriously, without your code what more can anybody tell you?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AdithMD
        wrote on last edited by
        #3

        no!
        even with the example projects from qt, i can't build it.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jmelbye
          wrote on last edited by
          #4

          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-1dec36324b70

          This likely has nothing to do with Qt. What compiler version are you using?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            AdithMD
            wrote on last edited by
            #5

            i'm using msvc2010 compiler.
            When I build the project in the IDE QT, i have an error message.
            But, in MS.Studio 2010. build success..

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved