Buildingerrors with debian Buster and testing.

4 views
Skip to first unread message

Lars Pregge

unread,
Nov 18, 2020, 1:05:53 PM11/18/20
to so2sdr
Hi, i try to compile the software with debian buster and testing,  But the build fails.
Any solution for this problem?

g++ -c -pipe -O2 -Wall -DINSTALL_DIR=\"/usr/local\" -O2 -pthread -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I../qttelnet/src -I/usr/include/libusb-1.0 -I. -I. -o cwmessagedialog.o cwmessagedialog.cpp
g++ -c -pipe -O2 -Wall -DINSTALL_DIR=\"/usr/local\" -O2 -pthread -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I../qttelnet/src -I/usr/include/libusb-1.0 -I. -I. -o main.o main.cpp
In file included from so2sdr.h:34:0,
                 from main.cpp:20:
ui_so2sdr.h: In member function ‘void Ui_So2sdr::setupUi(QMainWindow*)’:
ui_so2sdr.h:369:25: error: ‘class QTextEdit’ has no member named ‘setSizeAdjustPolicy’; did you mean ‘setSizePolicy’?
         MasterTextEdit->setSizeAdjustPolicy(QAbstractScrollArea::AdjustIgnored);
                         ^~~~~~~~~~~~~~~~~~~
                         setSizePolicy
ui_so2sdr.h:369:66: error: ‘AdjustIgnored’ is not a member of ‘QAbstractScrollArea’
         MasterTextEdit->setSizeAdjustPolicy(QAbstractScrollArea::AdjustIgnored);
                                                                  ^~~~~~~~~~~~~
ui_so2sdr.h:742:23: error: ‘class MyTableView’ has no member named ‘setSizeAdjustPolicy’; did you mean ‘setSizePolicy’?
         LogTableView->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContentsOnFirstShow);
                       ^~~~~~~~~~~~~~~~~~~
                       setSizePolicy
ui_so2sdr.h:742:64: error: ‘AdjustToContentsOnFirstShow’ is not a member of ‘QAbstractScrollArea’
         LogTableView->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContentsOnFirstShow);
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:774: recipe for target 'main.o' failed
make[1]: *** [main.o] Error 1
make[1]: Leaving directory '/home/marvin/Downloads/so2sdr/so2sdr'
Makefile:40: recipe for target 'sub-so2sdr-make_default' failed
make: *** [sub-so2sdr-make_default] Error 2


73

R. Torsten Clay

unread,
Nov 18, 2020, 1:11:27 PM11/18/20
to so2...@googlegroups.com
Hi Lars,

It looks like you are trying to build so2sdr with Qt version 4.
Version 5 is required. I am currently using 5.15.1. What does "qmake
-v" return?

In case you have both Qt v4 and v5 installed, you want to run qmake
from version 5.

Tor N4OGW
> --
> You received this message because you are subscribed to the Google Groups "so2sdr" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to so2sdr+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/so2sdr/18b28505-4aa9-4f4e-a52f-6aeec57b6739n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages