DigiCube won't compile GUI on ubuntu:
ran:
cd /tmp
git clone
https://github.com/iGotSpots/DigiCubecd DigiCube
qmake -> success
make - > fails (see error below)
In file included from src/qt/bitcoingui.cpp:24:0:
src/qt/overviewpage.h:35:41: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
void resizeEvent(QResizeEvent *event) override;
^
src/qt/bitcoingui.cpp: In member function 'virtual void BitcoinGUI::dropEvent(QDropEvent*)':
src/qt/bitcoingui.cpp:829:41: error: invalid use of incomplete type 'const class QUrl'
sendCoinsPage->handleURI(uri.toString());
^
In file included from src/qt/bitcoingui.cpp:8:0:
src/qt/bitcoingui.h:30:7: note: forward declaration of 'class QUrl'
class QUrl;
^
In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
from /usr/include/qt4/QtCore/qobjectdefs.h:45,
from /usr/include/qt4/QtGui/qwindowdefs.h:45,
from /usr/include/qt4/QtGui/qwidget.h:46,
from /usr/include/qt4/QtGui/qmainwindow.h:45,
from /usr/include/qt4/QtGui/QMainWindow:1,
from src/qt/bitcoingui.h:4,
from src/qt/bitcoingui.cpp:8:
/usr/include/qt4/QtCore/qglobal.h: In instantiation of 'class QTypeInfo':
/usr/include/qt4/QtCore/qlist.h:113:62: required from 'T& QList::Node::t() [with T = QUrl]'
/usr/include/qt4/QtCore/qlist.h:245:57: required from 'const T& QList::const_iterator::operator*() const [with T = QUrl]'
src/qt/bitcoingui.cpp:827:9: required from here
/usr/include/qt4/QtCore/qglobal.h:2244:26: error: invalid application of 'sizeof' to incomplete type 'QUrl'
isLarge = (sizeof(T)>sizeof(void*)),
^
In file included from /usr/include/qt4/QtCore/qobject.h:50:0,
from /usr/include/qt4/QtGui/qwidget.h:47,
from /usr/include/qt4/QtGui/qmainwindow.h:45,
from /usr/include/qt4/QtGui/QMainWindow:1,
from src/qt/bitcoingui.h:4,
from src/qt/bitcoingui.cpp:8:
/usr/include/qt4/QtCore/qlist.h: In instantiation of 'void QList::node_destruct(QList::Node*, QList::Node*) [with T = QUrl]':
/usr/include/qt4/QtCore/qlist.h:757:18: required from 'void QList::free(QListData::Data*) [with T = QUrl]'
/usr/include/qt4/QtCore/qlist.h:732:13: required from 'QList::~QList() [with T = QUrl]'
src/qt/bitcoingui.cpp:826:52: required from here
/usr/include/qt4/QtCore/qlist.h:431:31: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete]
while(from != to) --to, delete reinterpret_cast(to->v);
^
/usr/include/qt4/QtCore/qlist.h:431:31: warning: invalid use of incomplete type 'class QUrl'
In file included from src/qt/bitcoingui.cpp:8:0:
src/qt/bitcoingui.h:30:7: note: forward declaration of 'class QUrl'
class QUrl;
^
In file included from /usr/include/qt4/QtCore/qobject.h:50:0,
from /usr/include/qt4/QtGui/qwidget.h:47,
from /usr/include/qt4/QtGui/qmainwindow.h:45,
from /usr/include/qt4/QtGui/QMainWindow:1,
from src/qt/bitcoingui.h:4,
from src/qt/bitcoingui.cpp:8:
/usr/include/qt4/QtCore/qlist.h:431:31: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
while(from != to) --to, delete reinterpret_cast(to->v);
^
/usr/include/qt4/QtCore/qlist.h:433:32: error: invalid use of incomplete type 'class QUrl'
while (from != to) --to, reinterpret_cast(to)->~T();
^
In file included from src/qt/bitcoingui.cpp:8:0:
src/qt/bitcoingui.h:30:7: note: forward declaration of 'class QUrl'
class QUrl;
^
In file included from /usr/include/qt4/QtCore/qobject.h:50:0,
from /usr/include/qt4/QtGui/qwidget.h:47,
from /usr/include/qt4/QtGui/qmainwindow.h:45,
from /usr/include/qt4/QtGui/QMainWindow:1,
from src/qt/bitcoingui.h:4,
from src/qt/bitcoingui.cpp:8:
/usr/include/qt4/QtCore/qlist.h: In instantiation of 'void QList::node_copy(QList::Node*, QList::Node*, QList::Node*) [with T = QUrl]':
/usr/include/qt4/QtCore/qlist.h:711:18: required from 'void QList::detach_helper(int) [with T = QUrl]'
/usr/include/qt4/QtCore/qlist.h:725:18: required from 'void QList::detach_helper() [with T = QUrl]'
/usr/include/qt4/QtCore/qlist.h:122:93: required from 'QList::QList(const QList&) [with T = QUrl]'
src/qt/bitcoingui.cpp:826:52: required from here
/usr/include/qt4/QtCore/qlist.h:399:28: error: invalid use of incomplete type 'class QUrl'
current->v = new T(*reinterpret_cast(src->v));
^
In file included from src/qt/bitcoingui.cpp:8:0:
src/qt/bitcoingui.h:30:7: note: forward declaration of 'class QUrl'
class QUrl;
^
In file included from /usr/include/qt4/QtCore/qobject.h:50:0,
from /usr/include/qt4/QtGui/qwidget.h:47,
from /usr/include/qt4/QtGui/qmainwindow.h:45,
from /usr/include/qt4/QtGui/QMainWindow:1,
from src/qt/bitcoingui.h:4,
from src/qt/bitcoingui.cpp:8:
/usr/include/qt4/QtCore/qlist.h:405:17: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete]
delete reinterpret_cast(current->v);
^
/usr/include/qt4/QtCore/qlist.h:405:17: warning: invalid use of incomplete type 'class QUrl'
In file included from src/qt/bitcoingui.cpp:8:0:
src/qt/bitcoingui.h:30:7: note: forward declaration of 'class QUrl'
class QUrl;
^
In file included from /usr/include/qt4/QtCore/qobject.h:50:0,
from /usr/include/qt4/QtGui/qwidget.h:47,
from /usr/include/qt4/QtGui/qmainwindow.h:45,
from /usr/include/qt4/QtGui/QMainWindow:1,
from src/qt/bitcoingui.h:4,
from src/qt/bitcoingui.cpp:8:
/usr/include/qt4/QtCore/qlist.h:405:17: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
delete reinterpret_cast(current->v);
^
/usr/include/qt4/QtCore/qlist.h:412:17: error: invalid use of incomplete type 'class QUrl'
new (current) T(*reinterpret_cast(src));
^
In file included from src/qt/bitcoingui.cpp:8:0:
src/qt/bitcoingui.h:30:7: note: forward declaration of 'class QUrl'
class QUrl;
^
In file included from /usr/include/qt4/QtCore/qobject.h:50:0,
from /usr/include/qt4/QtGui/qwidget.h:47,
from /usr/include/qt4/QtGui/qmainwindow.h:45,
from /usr/include/qt4/QtGui/QMainWindow:1,
from src/qt/bitcoingui.h:4,
from src/qt/bitcoingui.cpp:8:
/usr/include/qt4/QtCore/qlist.h:418:17: error: invalid use of incomplete type 'class QUrl'
(reinterpret_cast(current))->~T();
^
In file included from src/qt/bitcoingui.cpp:8:0:
src/qt/bitcoingui.h:30:7: note: forward declaration of 'class QUrl'
class QUrl;
^
Makefile:945: recipe for target 'build/bitcoingui.o' failed
make: *** [build/bitcoingui.o] Error 1