[Qt-interest] Article on Using Qt4 ---- Problem: setupUi not define in this scope and other errors

Usman Ajmal uzmanajmal at gmail.com
Mon May 11 20:34:35 CEST 2009


Oops Sorry...forgot to ask:  Isn't class name properly given?

Also i named my push button as 'pushButton' instead of 'pbAdd', used in the
article.

Thanks

On Mon, May 11, 2009 at 11:31 PM, Usman Ajmal <uzmanajmal at gmail.com> wrote:

> Hi i am following http://www.digitalfanatics.org/qt4/articles/i.html to
> learn how to use Qt4. While compiling i get following errors...
>
>
> In file included from formimpl.cpp:1:
> formimpl.h:6: error: expected class-name before ‘{’ token
> formimpl.h: In constructor ‘FormImpl::FormImpl()’:
> formimpl.h:12: error: ‘setupUi’ was not declared in this scope
> formimpl.h:14: error: ‘pushButton’ was not declared in this scope
> formimpl.cpp: In member function ‘void FormImpl::addClicked()’:
> formimpl.cpp:5: error: ‘lineEdit’ was not declared in this scope
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090511/fea8f66d/attachment.html 


More information about the Qt-interest-old mailing list