Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
Qt Creator 2.7.0, Qt Creator 2.8.0-beta
-
None
-
Ubuntu Linux 12.04, Qt4.8.2 and Qt5.0.1, building QtCreator from Git
Description
If you put in a header file
#define COMPANY_NAMESPACE foobar
then, in all your source files, use
...
namespace COMPANY_NAMESPACE
{
}
...
Anything inside the "foobar" namespace fails to show up in the class view. Also the local file outline is empty. Using the Ctl-click inside the editor works fine, also the Ctl-K search my method will display "foobar::method1(), foobar::method2(), etc". So at some level the Cpp parser is able to handle namespaces defined by a macro definition.