MarkusIppy / QT5.12.4-raspian-Buster-EGLFS

Compile QT 5.12.4 on raspbian Buster and EGLFS support
17 stars 8 forks source link

qtlocation library issue #2

Open dqin2019 opened 4 years ago

dqin2019 commented 4 years ago

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.

ArosPrince commented 3 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?

johanradyn commented 3 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?

@ArosPrince I have found references that qtscript does not compile using the ARMv8 config on the raspberry pi 3. There are two solutions:

  1. Change: "-skip qtwayland -skip qtwebengine" in compileQT.sh to "-skip qtwayland -skip qtwebengine -skip qtscript"
  2. Change "-device linux-rasp-pi3-vc4-g++" in compileQT to "-device linux-rasp-pi2-g++"

Either one should work, I prefer using the first as I do not need qtscript.