parent
c160eda79a
commit
38b3bf8c8f
@ -0,0 +1,28 @@
|
|||||||
|
### Install packages on RPI
|
||||||
|
|
||||||
|
// RPI4 OpenGL Support
|
||||||
|
```
|
||||||
|
apt-get install libgles2-mesa-dev
|
||||||
|
apt-get install xorg-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
// Packages recommended by tal.org
|
||||||
|
```
|
||||||
|
apt install build-essential libfontconfig1-dev libdbus-1-dev libfreetype6-dev libicu-dev libinput-dev libxkbcommon-dev libsqlite3-dev libssl-dev libpng-dev libjpeg-dev libglib2.0-dev libraspberrypi-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
// Packages recommended by wiki.qt.io
|
||||||
|
```
|
||||||
|
sudo apt-get build-dep qt4-x11
|
||||||
|
sudo apt-get build-dep libqt5gui5
|
||||||
|
sudo apt-get install libudev-dev libinput-dev libts-dev libxcb-xinerama0-dev libxcb-xinerama0
|
||||||
|
```
|
||||||
|
|
||||||
|
// Note that we have to use gcc8 for this build otherwise we will face error in configuration step
|
||||||
|
// GCC8 will be attached to the repository for further usage
|
||||||
|
|
||||||
|
// Configuration
|
||||||
|
```
|
||||||
|
../configure -release -opengl es2 -make libs -nomake tests -nomake examples -skip wayland -skip qtscript -skip qtwebengine -skip location -device linux-rasp-pi3-vc4-g++ -device-option CROSS_COMPILE=/media/mehran/extra4/Qt5Pi4/raspi/rpi-gcc-8.3.0/bin/arm-linux-gnueabihf- -sysroot /media/mehran/extra4/Qt5Pi4/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix /media/mehran/extra4/Qt5Pi4/raspi/qt5pi -hostprefix /media/mehran/extra4/Qt5Pi4/raspi/qt5 -v -no-use-gold-linker
|
||||||
|
|
||||||
|
```
|
Loading…
Reference in new issue