[Qt-creator] Strange problem with code completion
Jean-Baptiste Rouault
jean-baptiste.rouault at diateam.net
Wed Nov 26 14:30:43 CET 2008
I followed the steps you gave and can't reproduce the bug in that case.
I did some testing with my own project and found something weird :
I removed all sources files except the one with #include <QComboBox> and I had
auto-completion.
I added the other files one by one and found that one of my .cpp files was
responsible for the bug. This file contains a #include <QtGui> line, and if I
comment that line, and force Qt Creator to reindex the project, auto-
completion works in the file with QComboBox....
Don't know if i've been clear enough to describe the situation...
Regards,
Jean-Baptiste
> On Nov 26, 2008, at 12:06 PM, Jean-Baptiste Rouault wrote:
> > qcombobox.h is parsed correctly.
> > Let me know if I can do anything else to help.
>
> Ok, thanks. We will try to reproduce it in on amd64 machine. By the
> way, just to be 100% sure. The steps to reproduce the bug are
>
> mkdir foo && cd foo
>
> cat > foo.cpp
> #include <QComboBox>
>
> qmake -project
> qtcreator foo.pro
>
> now i won't see any completions for QComboBox in foo.cpp, right?
>
> ciao robe
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
More information about the Qt-creator-old
mailing list