Bug #7997 2006-06-26 14:46

hell

Code completion does not work with Qt4 includes.

I set on all of CC options:

[x] Follow LOCAL includes

[x] Follow GLOBAL includes

[x] Parse preprocessor directives

but for all Qt4 class objects code completion doesn't work.

...includes are like:

#include <QDialog>

#include <QString>

And QDialog and QString are files in /usr/include/qt4/QtCore (QtGui) directory, and consist of one string. For example, for QString this string is:

#include "qstring.h"

qstring.h - is a .h file in same dir as QString. And it is local include for QString, but global for my files...

And then i edit my file for this - #include <qstring.h> - code complation work perfectly.

And when I replace "" to <> in /usr/include/qt4/QtCore/QString and roll back my file to "#include <QString>", code complation work too.

So, seem's like a bug with LOCAL/GLOBAL includes in included files.

Category
Plugin::CodeCompletion
Group
 
Status
Closed
Close date
2010-10-16 01:56
Assigned to
loaden
mortenmacfly 2007-03-19 16:36

Does this bug still persist?

hell 2007-03-20 09:31

At this moment, i can't simply build debian package with new builds. Can't check.

loaden 2010-10-16 01:56

This bug has been already fixed in HEAD.

Thank you.