'README.md' módosítása
This commit is contained in:
@@ -158,7 +158,7 @@ Kicsomagolás.
|
||||
tar xvf qt-everywhere-src-5.15.2.tar.xz
|
||||
```
|
||||
|
||||
Az mkspecs könyvtárat a fordítóhoz kell igazítani.
|
||||
32 bites rendszer (gnueabihf) esetén az mkspecs könyvtárat a fordítóhoz kell igazítani.
|
||||
```
|
||||
cp -R qt-everywhere-src-5.15.2/qtbase/mkspecs/linux-arm-gnueabi-g++ qt-everywhere-src-5.15.2/qtbase/mkspecs/linux-arm-gnueabihf-g++
|
||||
sed -i -e 's/arm-linux-gnueabi-/arm-linux-gnueabihf-/g' qt-everywhere-src-5.15.2/qtbase/mkspecs/linux-arm-gnueabihf-g++/qmake.conf
|
||||
@@ -167,7 +167,7 @@ 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-all
|
||||
../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
|
||||
```
|
||||
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.2/qtbase/mkspecs/devices könyvtárban, Raspberry Pi változatokhoz az aábbi táblázatban lévők valók:
|
||||
| Raspberry Pi modell | ARM architectúra verzió | -device opció |
|
||||
|
||||
Reference in New Issue
Block a user