Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-4846

Lost the C++ standard recognition while upgrading from 2.1-RC1 to 2.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.4.0
    • Qt Creator 2.2.0
    • C/C++/Obj-C++ Support
    • None
    • I'm on Fedora 13 x86_64, and I don't have Qt4.7.x installed (my fedora is stuck to the 4.6.3 version, and I don't need Qt anyway).

    Description

      Hello guys,

      I'm using QtCreator as a simple code editor for a C++ project (not related to Qt) which is cross-compiled to sh4.

      When using the 2.1-RC1 version of QtCreator, I had access to the standard C++ classes and headers with no problem whatsoever: syntax highlighting was working well and I got auto-completion for vectors and maps and strings, etc.
      When I switched to 2.2, I lost all that. I see that QtCreator 2.2 still recognizes the standard C include files, but the C++ headers are not taken in account.
      Note that the parser still analyses my code, and I can navigate into my classes with no problem.

      I don't use the QtCreator building system because of the cross-compiling, I simply use the console.
      This means that if QtCreator uses the compiler output to figure out the include paths, that's possibly the problem.

      This bug report is a suggestion following this discussion: http://developer.qt.nokia.com/forums/viewthread/5804/

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hunger Tobias Hunger
            gui13 Guillaume
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes