Hello, compiling kstreamripper on RHEL/Fedora fails with following error:
==========
g++ -o src/addnewstream.o -c -I/opt/trinity/include/
-I/usr/lib64/qt-3.3/include/ -I/opt/trinity/include/tqt -DNDEBUG
-DNO_DEBUG -DQT_NO_TRANSLATION -Isrc -I. src/addnewstream.cpp
g++ -o src/addnewstreamimpl.o -c -I/opt/trinity/include/
-I/usr/lib64/qt-3.3/include/ -I/opt/trinity/include/tqt -DNDEBUG
-DNO_DEBUG -DQT_NO_TRANSLATION -Isrc -I. src/addnewstreamimpl.cpp
/usr/lib64/qt-3.3/bin/moc -o src/addnewstreamimpl_moc.cpp
src/addnewstreamimpl.h
g++ -o src/addnewstreamimpl_moc.o -c -I/opt/trinity/include/
-I/usr/lib64/qt-3.3/include/ -I/opt/trinity/include/tqt -DNDEBUG
-DNO_DEBUG -DQT_NO_TRANSLATION -Isrc -I. src/addnewstreamimpl_moc.cpp
src/addnewstreamimpl.h:29: error: ISO C++ forbids declaration of
'TQ_OBJECT' with no type
src/addnewstreamimpl.h:31: error: expected ';' before 'public'
scons: *** [src/addnewstreamimpl_moc.o] Error 1
==========
Problem solved with '#include <tqt.h>' in 'addnewstreamimpl.h', see
attached patch.
Thanks
Francois Andriot
Show replies by date