[Qt-creator] autocomplete problem
Kai Koehne
kai.koehne at nokia.com
Tue Nov 4 10:07:51 CET 2008
On Tuesday 04 November 2008 08:23:46 ext Bahadır Doğan wrote:
> hello
> i use ubuntu linux and i installed qt creator to my system.(qt4 is
> installed on my system) i created a project and put some widgets to the
> mainwindow.after that, i try to write some lines of code in the
> mainwindow.cpp file. i try to access the widgets via the "ui" object which
> is defined in the mainwindow.h file. but i while editting,the editor
> doesn't show me the widgets.
> for ex, i try to write this:
>
>
> ui.lineEdit->setText("teststring");
>
>
> but it doesn't show the "lineEdit" after i type "ui."
>
> what can be the problem?
That's a bug in the alpha: Right now you have to reload the project to make
the code completion aware of the ui_*.h file.
Regards
Kai Koehne
More information about the Qt-creator-old
mailing list