QtCreator 2.2 does't recognize std:: anymore?
-
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)? -
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?
-
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!
-
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:-)
-
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.