Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator 2.2 does't recognize std:: anymore?
QtWS25 Last Chance

QtCreator 2.2 does't recognize std:: anymore?

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 3.1k 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.
  • X Offline
    X Offline
    xgbi
    wrote on last edited by
    #1

    Hey guys,

    I updated my QtCreator to version 2.2 to solve a "Mime type problem":http://developer.qt.nokia.com/forums/viewthread/5686/, but I discovered that this new version have lost awareness of the standard C++ classes.
    I took std::string as example in the title, but anything under std:: is not auto completed neither highlighted.

    Is this normal?
    I suspect this is my machine setup screwing things around by I don't know where to look.

    Some precisions:
    I'm on Fedora 13 x64, and I don't have Qt4.7.x installed (my fedora is stuck to the 4.6.3 version).
    Do I need to upgrade my Qt installation as well or is QtCreator a "standalone" (it's installed in my user directory with all the Qt4.7 libs provided with it)?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Creator processes the headers you include. It has no special code for stuff in std. So are you including the proper headers? Are the include pathes correct?

      1 Reply Last reply
      0
      • X Offline
        X Offline
        xgbi
        wrote on last edited by
        #3

        Well I don't know how to tune this.
        I use QtCreator for a C++ project with a cross-compiler, but I don't use the provided compilation system, so if QtCreator tries to infer the include paths with this, I guess it won't be able to.

        What's surprising is that my 2.1-RC1 has no problem parsing/finding the standard headers, whereas this one can't!

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          Qt Creator 2.2 got way better at figuring out compilers, so maybe it got a bit too clever for your use case:-)

          Can you please file an issue in "our bugtracker":http://bugreports.qt.nokia.com/, describing your setup? We want to improve "generic linux device" support for 2.3 and handling (most) cross-compiler setups out there definitely falls into that category:-)

          1 Reply Last reply
          0
          • X Offline
            X Offline
            xgbi
            wrote on last edited by
            #5

            Okay, done here: http://bugreports.qt.nokia.com/browse/QTCREATORBUG-4846

            But I suspect this is because of the cross-compiling environment and me not using QtCreator's building tools.

            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