Hello,

----- Original Message -----
>> From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
>> 
>> you use? It seems that the wrong version of uic is found and used.

Yes, you are right! After I've changed uic from version 3.3.3->4.1.44
the problem disappears. 

But I have another error and this time the problem seems to lie in the source. 
The followings are error messages:

QLMenubar_moc.cpp:15:34: private/qucomextra_p.h: No such file or directory
QLMenubar_moc.cpp:17:2: #error "This file was generated using the moc from 
3.3.3. It"
QLMenubar_moc.cpp:18:2: #error "cannot be used with the include files from this 
version of Qt."
QLMenubar_moc.cpp:19:2: #error "(The moc has changed too much.)"
In file included from QLMenubar.C:175:
QLMenubar_moc.cpp:23: error: no `const char* 
lyx::frontend::QLMenubar::className() const' member function declared in class 
`lyx::frontend::QLMenubar'
QLMenubar_moc.cpp:27: error: `QMetaObject*lyx::frontend::QLMenubar::metaObj' is 
not a static member of `class lyx::frontend::QLMenubar'
QLMenubar_moc.cpp:28: error: `QMetaObjectCleanUp' does not name a type
QLMenubar_moc.cpp:32: error: redefinition of `static QString 
lyx::frontend::QLMenubar::tr(const char*, const char*)'
QLMenubar.h:39: error: `static QString lyx::frontend::QLMenubar::tr(const 
char*, const char*)' previously defined here
QLMenubar_moc.cpp:40: error: redefinition of `static QString 
lyx::frontend::QLMenubar::trUtf8(const char*, const char*)'
QLMenubar.h:39: error: `static QString lyx::frontend::QLMenubar::trUtf8(const 
char*, const char*)' previously defined here
QLMenubar_moc.cpp:51: error: no `QMetaObject* 
lyx::frontend::QLMenubar::staticMetaObject()' member function declared in class 
`lyx::frontend::QLMenubar'
QLMenubar_moc.cpp: In member function `QMetaObject* 
lyx::frontend::QLMenubar::staticMetaObject()':
QLMenubar_moc.cpp:52: error: `metaObj' undeclared (first use this function)
QLMenubar_moc.cpp:52: error: (Each undeclared identifier is reported only once 
for each function it appears in.)
QLMenubar_moc.cpp:54: error: no match for call to `(const QMetaObject) ()'
QLMenubar_moc.cpp:55: error: `new_metaobject' is not a member of `QMetaObject'
QLMenubar_moc.cpp:64: error: `cleanUp_lyx__frontend__QLMenubar' undeclared 
(first use this function)
QLMenubar_moc.cpp: At global scope:
QLMenubar_moc.cpp:69: error: no `void* lyx::frontend::QLMenubar::qt_cast(const 
char*)' member function declared in class `lyx::frontend::QLMenubar'
QLMenubar_moc.cpp: In member function `void* 
lyx::frontend::QLMenubar::qt_cast(const char*)':
QLMenubar_moc.cpp:74: error: `qt_cast' is not a member of `QObject'
QLMenubar_moc.cpp: At global scope:
QLMenubar_moc.cpp:77: error: `QUObject' has not been declared
QLMenubar_moc.cpp:78: error: ISO C++ forbids declaration of `_o' with no type
QLMenubar_moc.cpp:78: error: no `bool lyx::frontend::QLMenubar::qt_invoke(int, 
int*)' member function declared in class `lyx::frontend::QLMenubar'
QLMenubar_moc.cpp: In member function `bool 
lyx::frontend::QLMenubar::qt_invoke(int, int*)':
QLMenubar_moc.cpp:79: error: `qt_invoke' is not a member of `QObject'
QLMenubar_moc.cpp: At global scope:
QLMenubar_moc.cpp:82: error: `QUObject' has not been declared
QLMenubar_moc.cpp:83: error: ISO C++ forbids declaration of `_o' with no type
QLMenubar_moc.cpp:83: error: no `bool lyx::frontend::QLMenubar::qt_emit(int, 
int*)' member function declared in class `lyx::frontend::QLMenubar'
QLMenubar_moc.cpp: In member function `bool 
lyx::frontend::QLMenubar::qt_emit(int, int*)':
QLMenubar_moc.cpp:84: error: `qt_emit' is not a member of `QObject'
QLMenubar_moc.cpp: At global scope:
QLMenubar_moc.cpp:89: error: no `bool 
lyx::frontend::QLMenubar::qt_property(int, int, QVariant*)' member function 
declared in class `lyx::frontend::QLMenubar'
QLMenubar_moc.cpp: In member function `bool 
lyx::frontend::QLMenubar::qt_property(int, int, QVariant*)':
QLMenubar_moc.cpp:90: error: `qt_property' is not a member of `QObject'
QLMenubar_moc.cpp: At global scope:
QLMenubar_moc.cpp:93: error: no `bool 
lyx::frontend::QLMenubar::qt_static_property(QObject*, int, int, QVariant*)' 
member function declared in class `lyx::frontend::QLMenubar'
make[7]: *** [QLMenubar.lo] 

Thank you for your help.

Regards,


cghan

Reply via email to