8cH9azbsFifZ / sdr-shell

This is a fork of sdr-shell in order to create a debian package.
http://code.google.com/p/sdr-shell/
1 stars 0 forks source link

compile error #47

Open 8cH9azbsFifZ opened 12 years ago

8cH9azbsFifZ commented 12 years ago

In file included from main.cpp:3: main_widget.h:64: error: ISO C++ forbids declaration of ‘QScrollView’ with no type mainwidget.h:64: error: expected ‘;’ before ‘’ token main_widget.h:148: error: field ‘cmdStream’ has incomplete type main_widget.h:150: error: ISO C++ forbids declaration of ‘QTable’ with no type mainwidget.h:150: error: expected ‘;’ before ‘’ token main.cpp: In function ‘int main(int, char_)’: main.cpp:12: error: ‘class Main_Widget’ has no member named ‘setIcon’ main.cpp:13: error: ‘class QApplication’ has no member named ‘setMainWidget’ make: _* [main.o] Error 1

8cH9azbsFifZ commented 12 years ago

find /usr/include/ -name qscrollview.h /usr/include/qt3/qscrollview.h

but only included in qt3??

8cH9azbsFifZ commented 12 years ago

Full error log:

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_main_widget.o moc_main_widget.cpp In file included from moc_main_widget.cpp:10: main_widget.h:7:25: error: qscrollview.h: No such file or directory main_widget.h:21:21: error: qheader.h: No such file or directory In file included from main_widget.h:39, from moc_main_widget.cpp:10: worldmap.h:6:25: error: qpointarray.h: No such file or directory In file included from main_widget.h:36, from moc_main_widget.cpp:10: spectrum.h:11: error: ‘WFlags’ has not been declared In file included from main_widget.h:39, from moc_mainwidget.cpp:10: worldmap.h:33: error: ISO C++ forbids declaration of ‘QPointArray’ with no type worldmap.h:33: error: expected ‘;’ before ‘’ token In file included from main_widget.h:40, from moc_main_widget.cpp:10: pbscale.h:11: error: ‘WFlags’ has not been declared In file included from moc_main_widget.cpp:10: main_widget.h:63: error: ISO C++ forbids declaration of ‘QScrollView’ with no type mainwidget.h:63: error: expected ‘;’ before ‘’ token main_widget.h:147: error: field ‘cmdStream’ has incomplete type main_widget.h:149: error: ISO C++ forbids declaration of ‘QTable’ with no type mainwidget.h:149: error: expected ‘;’ before ‘’ token make: _\ [moc_main_widget.o] Error 1

8cH9azbsFifZ commented 12 years ago

qmake-qt3 sdr-shell.pro -o Makefile

this will work...