[Qt-creator] autocomplete problem

Sunil Thaha sunil.thaha at gmail.com
Tue Nov 4 08:36:19 CET 2008


On Tue, Nov 4, 2008 at 12:53 PM, Bahadır Doğan <abahadirdogan at gmail.com>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 is because the UIC is not run on the modified - ui file yet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20081104/c34da4e6/attachment.html 


More information about the Qt-creator-old mailing list