'README.md' módosítása
This commit is contained in:
@@ -154,12 +154,17 @@ sed -i -e 's/arm-linux-gnueabi-/arm-linux-gnueabihf-/g' qt-everywhere-src-5.15.2
|
||||
Indulhat a konfigurálás
|
||||
```
|
||||
cd build
|
||||
./qt-everywhere-src-5.15.2/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.2 -extprefix ~/rpi4/qt5.15.2 -opensource -confirm-license -skip qtscript -skip qtwayland -skip qtwebengine -skip qtlocation -skip qtlottie -skip qtsensors -nomake tests -make libs -pkg-config -no-use-gold-linker -v -recheck
|
||||
./qt-everywhere-src-5.15.2/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.2 -extprefix ~/rpi4/qt5.15.2 -opensource -confirm-license -skip qtscript -skip qtwayland -skip qtwebengine -skip qtlocation -skip qtlottie -skip qtsensors -nomake tests -make libs -pkg-config -no-use-gold-linker -v -recheck-all
|
||||
```
|
||||
Eszközök:
|
||||
1. linux-rasp-pi3-g++
|
||||
2. linux-rasp-pi4-v3d-g++
|
||||
|
||||
A mysql plugin fordításához (ha szükséges) meg kell adni, hogy hol találhatók a fejléc fájlok és osztott könyvtárak, az előző parancshoz még ezt kell hozzáfűzni
|
||||
```
|
||||
-sql-mysql MYSQL_INCDIR=~/rpi/sysroot/usr/include/mysql MYSQL_LIBDIR=~/rpi/sysroot/usr/lib/arm-linux-gnueabihf
|
||||
```
|
||||
|
||||
Sikeres fordítás után lehet installálni
|
||||
```
|
||||
make install
|
||||
|
||||
Reference in New Issue
Block a user