DREZENDE1980
(usa openSUSE)
Enviado em 22/05/2011 - 13:37h
Está aí a reclamação. Pelo que pesquisei, é por causa do ./configure estar pegando o MOC do qt4, e não do qt3. Já tentei fazer . / Configure - with-qt-dir = / path/to/qt3 ou o diretório /usr/lib/qt3/bin e nada... continua persistindo no erro.
Como faço para o ./configure rodar o MOC da qt3?
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!