sudo apt-get -f install qttools5-dev-tools
this resolves the missing lrelease directory.
now after running make the following error occurs:
ader@UbuntuHP:/tmp/DigiCube$ make
cd /tmp/DigiCube; /bin/sh share/genbuild.sh /tmp/DigiCube/build/build.h
g++ -c -m64 -pipe -fstack-protector -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-invalid-offsetof -Wno-sign-compare -Wno-unused-parameter -fdiagnostics-show-option -D_REENTRANT -fPIC -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6 -DUSE_UPNP=1 -DSTATICLIB -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -Isrc -Isrc/json -Isrc/qt -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Ibuild -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o build/bitcoingui.o src/qt/bitcoingui.cpp
In file included from src/qt/bitcoingui.cpp:8:0:
src/qt/bitcoingui.h:4:23: fatal error: QMainWindow: No such file or directory
compilation terminated.
Makefile:1167: recipe for target 'build/bitcoingui.o' failed
make: *** [build/bitcoingui.o] Error 1
If you do a
ls -l /usr/include/qt5/QtWidgets/QMainWindow
do you get anything back? If not, there is another apt-get for the qt widgets stuff but damn if I can remember the name of the package.
Also, if you have been beating on the /tmp/DigiCube-master directory, also try to delete it and do a fresh unzip of the archive. Sometimes crap from a previous build failure doesn't get cleaned out correctly.
I'll try to find the name of the package.
ader@UbuntuHP:~$ ls -l /usr/include/qt5/QtWidgets/QMainWindow
ls: cannot access '/usr/include/qt5/QtWidgets/QMainWindow': No such file or directory
Yeah, you are missing some things.
See if this is the one:
sudo apt-get install qtbase5-dev
There was something weird with the widgets but qtbase5-dev I think contains them.
For what it's worth, this is an ls -l of my /usr/include/qt5 directory, suppose if you find all the missing parts the compile should fall into place.
drwxr-xr-x 2 root root 4096 Jun 5 2015 QtConcurrent
drwxr-xr-x 2 root root 69632 Jun 5 2015 QtCore
drwxr-xr-x 2 root root 12288 Jun 5 2015 QtDBus
drwxr-xr-x 3 root root 53248 Jun 5 2015 QtGui
drwxr-xr-x 2 root root 4096 Jul 10 13:04 QtLocation
drwxr-xr-x 2 root root 12288 Jun 5 2015 QtNetwork
drwxr-xr-x 2 root root 4096 Jun 5 2015 QtOpenGL
drwxr-xr-x 2 root root 4096 Jun 5 2015 QtOpenGLExtensions
drwxr-xr-x 2 root root 4096 Jun 5 2015 QtPlatformSupport
drwxr-xr-x 2 root root 4096 Jul 10 13:04 QtPositioning
drwxr-xr-x 2 root root 4096 Jun 5 2015 QtPrintSupport
drwxr-xr-x 2 root root 4096 Jul 10 13:04 QtQml
drwxr-xr-x 2 root root 4096 Jul 10 13:04 QtQuick
drwxr-xr-x 2 root root 4096 Jul 10 13:04 QtQuickParticles
drwxr-xr-x 2 root root 4096 Jul 10 13:04 QtQuickTest
drwxr-xr-x 2 root root 4096 Jul 10 13:04 QtSensors
drwxr-xr-x 2 root root 4096 Jun 5 2015 QtSql
drwxr-xr-x 2 root root 4096 Jun 5 2015 QtTest
drwxr-xr-x 3 root root 4096 Jul 10 13:04 QtWebKit
drwxr-xr-x 3 root root 4096 Jul 10 13:04 QtWebKitWidgets
drwxr-xr-x 2 root root 49152 Jun 5 2015 QtWidgets
drwxr-xr-x 2 root root 4096 Jun 5 2015 QtXml