I'm trying to build Bitcoin with the qt wallet frontend on Arch Linux but I have a few issues in the compile stage.
qt/test/wallettests.cpp: In function ‘void {anonymous}::ConfirmSend()’:
qt/test/wallettests.cpp:27:38: error: ‘void QTimer::timeout()’ is protected within this context
QObject::connect(timer, &QTimer::timeout, []() {
^~~~~~~
In file included from /usr/include/qt4/QtCore/QTimer:1:0,
from ./qt/sendcoinsdialog.h:13,
from qt/test/wallettests.cpp:7:
/usr/include/qt4/QtCore/qtimer.h:92:10: note: declared protected here
void timeout();
^~~~~~~
qt/test/wallettests.cpp:36:6: error: no matching function for call to ‘QObject::connect(QTimer*&, void (QTimer::*)(), {anonymous}::ConfirmSend()::)’
});
Building off master, commit hash 8ac80412867118172dc4172494304e19969e9489.
Here's the versions of dependencies I have installed
db 4.8.30.NC
qt 4.8.7
gcc 6.3.1
I'm sure it's some stupid mistake I've made but I'm scratching my head here. Any help would be greatly appreciated
edit: forgot to include commands I ran
./autogen.sh
./configure LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/" --without-miniupnpc
make -j17
edit 2: Sorry, not sure if this is supposed to go into "Development & Technical Discussion" or "Technical Support".