Qt-interest Archive, April 2008
problem with header files generated from uis
Message 1 in thread
Hello all
I have a app based on qt4.3 that compiled fine, until I created a subclass
of qtextedit and promoted a qtextedit on a form in qtdesigner. But when I
went to compile the application, I get the following error:
(...)
./ui_desigsearchform.h:67: error: expected unqualified-id before 'namespace'
./view/forms/desigsearchform.h:43: error: 'DesigSearchFormClass' in
namespace 'Ui' does not name a type
./ui_asstypeform.h:96: error: expected unqualified-id before 'namespace'
./view/forms/asstypeform.h:37: error: 'AssTypeFormClass' in namespace 'Ui'
does not name a type
autark.cpp:31: error: cannot define member function
'QuotTypeForm::Autark::Autark' within 'QuotTypeForm'
(...)
What's confusing me is that that header file is generated from a completely
different ui file than the one I edited. This one was left untouched...
Looking at the source file, there seems to be no error, but what do I know?
Anyone has any Idea of what went wrong?
Thanks in advance, cheers
Hernâni