Open dqin2019 opened 4 years ago
I had to do this as well. But then I get another error while doing make install:
In file included from /home/pi/qt-everywhere-src-5.12.4/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/config.h:26,
from /home/pi/qt-everywhere-src-5.12.4/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:44:
/home/pi/qt-everywhere-src-5.12.4/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:370:6: error: #error "Not supported ARM architecture"
# error "Not supported ARM architecture"
^~~~~
Any idea?
I had to do this as well. But then I get another error while doing make install:
In file included from /home/pi/qt-everywhere-src-5.12.4/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/config.h:26, from /home/pi/qt-everywhere-src-5.12.4/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:44: /home/pi/qt-everywhere-src-5.12.4/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:370:6: error: #error "Not supported ARM architecture" # error "Not supported ARM architecture" ^~~~~
Any idea?
@ArosPrince I have found references that qtscript does not compile using the ARMv8 config on the raspberry pi 3. There are two solutions:
Either one should work, I prefer using the first as I do not need qtscript.
First of all, thank you so much for putting out this. By following your steps I was able to naive build my gui on rpi4.
During my build I ran into the problem with qtlocation. The
make install
got terminated, so I have to -skip the qtlocation during the configure, since I would not use the map feature.