1
0
Fork 0
Browse Source

'README.md' módosítása

master
Varga Pál 5 months ago
parent
commit
7afbfa76d9
  1. 4
      README.md

4
README.md

@ -176,7 +176,7 @@ sed -i -e 's/arm-linux-gnueabi-/arm-linux-gnueabihf-/g' qt-everywhere-opensource
Indulhat a konfigurálás.
```
cd build
../qt-everywhere-opensource-src-5.15.8/configure -release -no-opengl -no-eglfs -linuxfb -device linux-rasp-pi4-v3d-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- -sysroot ~/rpi4/sysroot -prefix /usr/local/qt5.15.8 -extprefix ~/rpi4/qt5.15.8 -opensource -confirm-license -skip qtscript -skip qtwayland -skip qtwebengine -skip qtlocation -skip qtlottie -skip qtsensors -make libs -pkg-config -no-use-gold-linker -v -recheck-all
../qt-everywhere-src-5.15.8/configure -release -no-opengl -no-eglfs -linuxfb -device linux-rasp-pi4-v3d-g++ -device-option CROSS_COMPILE=aarch64-linux-gnu- -sysroot ~/rpi4/sysroot -prefix /usr/local/qt5.15.8 -extprefix ~/rpi4/qt5.15.8 -opensource -confirm-license -skip qtscript -skip qtwayland -skip qtwebengine -skip qtlocation -skip qtlottie -skip qtsensors -make libs -pkg-config -no-use-gold-linker -v -recheck-all
```
A _**-device**_ opciót a céleszköznek megfelelően kell beállítani, az elérhető eszközök megtalálhatók a ~/rpi4/qt-everywhere-src-5.15.8/qtbase/mkspecs/devices könyvtárban, Raspberry Pi változatokhoz az alábbi táblázatban lévők valók:
| Raspberry Pi modell | ARM architectúra verzió | -device opció |
@ -189,7 +189,7 @@ A _**-device**_ opciót a céleszköznek megfelelően kell beállítani, az elé
A mysql plugin fordításához (ha szükséges) meg kell adni, hogy hol találhatók a mysql fejléc fájlai és osztott könyvtárai, az előző parancshoz még ezt kell hozzáfűzni.
```
-sql-mysql MYSQL_INCDIR=~/rpi4/sysroot/usr/include/mysql MYSQL_LIBDIR=~/rpi4/sysroot/usr/lib/arm-linux-gnueabihf
-sql-mysql MYSQL_INCDIR=~/rpi4/sysroot/usr/include/mysql MYSQL_LIBDIR=~/rpi4/sysroot/usr/lib/aarch64-linux-gnu
```
Sikeres konfigurálás után lehet fordítani és installálni.

Loading…
Cancel
Save