[devel] QtRadio & brach4
Алексей Шенцев
=?iso-8859-1?q?ashen_=CE=C1_nsrz=2Eru?=
Чт Ноя 29 11:52:52 MSK 2007
Всем привет!
Попробовал пересобрать qtradio. И получил такое:
cc1plus: warning: command line option "-Wbad-function-cast" is valid for
C/ObjC but not for C++
about.moc.cpp:12:2: error: #error "The header file 'about.h' doesn't include
<QObject>."
about.moc.cpp:40: error: 'const QMetaObject About::staticMetaObject' is not a
static member of 'class About'
about.moc.cpp:40: error: variable 'const QMetaObject About::staticMetaObject'
has initializer but incomplete type
about.moc.cpp:45: error: prototype for 'const QMetaObject* About::metaObject()
const' does not match any in class 'About'
about.h:35: error: candidate is: virtual QMetaObject* About::metaObject()
const
about.moc.cpp:45: error: 'const QMetaObject* About::metaObject() const' cannot
be overloaded
about.h:35: error: with 'virtual QMetaObject* About::metaObject() const'
about.moc.cpp: In member function 'const QMetaObject* About::metaObject()
const':
about.moc.cpp:47: error: cannot convert 'QMetaObject* (*)()' to 'const
QMetaObject*' in return
about.moc.cpp: At global scope:
about.moc.cpp:50: error: no 'void* About::qt_metacast(const char*)' member
function declared in class 'About'
about.moc.cpp: In member function 'void* About::qt_metacast(const char*)':
about.moc.cpp:55: error: 'qt_metacast' is not a member of 'QDialog'
about.moc.cpp: At global scope:
about.moc.cpp:58: error: 'int About::qt_metacall' is not a static member
of 'class About'
about.moc.cpp:58: error: incomplete type 'QMetaObject' used in nested name
specifier
about.moc.cpp:58: error: expected primary-expression before 'int'
about.moc.cpp:58: error: expected primary-expression before 'void'
about.moc.cpp:58: error: initializer expression list treated as compound
expression
about.moc.cpp:59: error: expected ',' or ';' before '{' token
make[2]: *** [about.moc.o] Error 1
make[2]: Leaving directory `/home/ashen/RPM/BUILD/QtRadio-0.8.1/qtradio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ashen/RPM/BUILD/QtRadio-0.8.1'
make: *** [all] Error 2
В чём может быть проблема?
--
С уважением Шенцев Алексей Владимирович.
E-mail: ashen на nsrz.ru
XMPP: ashen на altlinux.org, AlexShen на jabber.ru
ICQ: 271053845
Подробная информация о списке рассылки Devel