I copied all qt4-files from 7.X repo manually into the optional-folder of my 8.1.5 tc and made some really ugly and dirty adoptions (renamings) in the .dep files. Now I can run qmake and make and it fails at the beginning, because it cannot find some headers, but those files are at least somewhere . Does anyone have an idea?
:
tc@box:~/GUI$ make
/usr/local/bin/qmake -o Makefile GUI.pro
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/tmp/tcloop/qt4-dev/usr/local/mkspecs/linux-g++ -I. -I/usr/local/include/QtCore -I/usr/local/include/QtNetwork -I/usr/local/include/QtGui -I/usr/local/include -I. -I. -o main.o main.cpp
g++: error trying to exec 'as': execvp: No such file or directory
In file included from /usr/include/c++/6.3.0/armv7l-unknown-linux-gnueabihf/bits/c++config.h:507:0,
from /usr/include/c++/6.3.0/utility:68,
from /usr/include/c++/6.3.0/algorithm:60,
from /usr/local/include/QtCore/qglobal.h:68,
from /usr/local/include/QtCore/qnamespace.h:45,
from /usr/local/include/QtCore/qobjectdefs.h:45,
from /usr/local/include/QtGui/qwindowdefs.h:45,
from /usr/local/include/QtGui/qwidget.h:46,
from /usr/local/include/QtGui/qmainwindow.h:45,
from /usr/local/include/QtGui/QMainWindow:1,
from GUI/mainwindow.h:5,
from main.cpp:1:
/usr/include/c++/6.3.0/armv7l-unknown-linux-gnueabihf/bits/os_defines.h:39:22: fatal error: features.h: No such file or directory
#include <features.h>
^
compilation terminated.
make: *** [Makefile:354: main.o] Error 2
tc@box:~/GUI$ sudo find / -name "features.h"
/tmp/tcloop/gcc/usr/include/c++/6.3.0/parallel/features.h
find: /proc/4419: No such file or directory
/usr/include/c++/6.3.0/parallel/features.h
tc@box:~/GUI$