DREZENDE1980
(usa openSUSE)
Enviado em 23/05/2011 - 18:28h
Consegui passar desse erro, com o cstlib incluído no arquivo UpgradeMessage.h. Agora parou em um erro que não consigo resolvê-lo.
Acontece que esse programa usa a qt3 para sua compilação. Daí está dando erro porque está pegando as lib do qt4. Já tentei ./configure --with-qt-dir=/usr/lib/qt3 e nada.
Agradeço as respostas de todos! E se alguém puder me ajudar nesse novo erro:
cd lib/ && make -f Makefile
make[1]: Entrando no diretório `/stalker/qtstalker-0.36/lib'
g++ -c -pipe -ffast-math -g -Wall -W -D_REENTRANT -fPIC -DQT_NO_COMPAT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I/usr/local/include/ta-lib -I. -o moc_QuotePlugin.o moc_QuotePlugin.cpp
moc_QuotePlugin.cpp:12:2: error: #error "The header file 'QuotePlugin.h' doesn't include <QObject>."
moc_QuotePlugin.cpp:19:1: error: ‘QT_BEGIN_MOC_NAMESPACE’ does not name a type
moc_QuotePlugin.cpp:72:32: error: ‘const QMetaObject QuotePlugin::staticMetaObject’ is not a static member of ‘class QuotePlugin’
moc_QuotePlugin.cpp:72:32: error: variable ‘const QMetaObject QuotePlugin::staticMetaObject’ has initializer but incomplete type
moc_QuotePlugin.cpp:74:7: error: ‘qt_meta_data_QuotePlugin’ was not declared in this scope
moc_QuotePlugin.cpp:81:20: error: prototype for ‘const QMetaObject* QuotePlugin::metaObject() const’ does not match any in class ‘QuotePlugin’
QuotePlugin.h:44:3: error: candidate is: virtual QMetaObject* QuotePlugin::metaObject() const
moc_QuotePlugin.cpp:86:51: error: no ‘void* QuotePlugin::qt_metacast(const char*)’ member function declared in class ‘QuotePlugin’
moc_QuotePlugin.cpp:94:43: error: ‘int QuotePlugin::qt_metacall’ is not a static member of ‘class QuotePlugin’
moc_QuotePlugin.cpp:94:30: error: incomplete type ‘QMetaObject’ used in nested name specifier
moc_QuotePlugin.cpp:94:52: error: expected primary-expression before ‘int’
moc_QuotePlugin.cpp:94:61: error: expected primary-expression before ‘void’
moc_QuotePlugin.cpp:94:70: error: initializer expression list treated as compound expression
moc_QuotePlugin.cpp:95:1: error: expected ‘,’ or ‘;’ before ‘{’ token
make[1]: ** [moc_QuotePlugin.o] Erro 1
make[1]: Saindo do diretório `/stalker/qtstalker-0.36/lib'
make: ** [sub-lib-make_default] Erro 2
Valeu!