From 299fb9d1d0596d5f0bd26a2ed11294b41f68fa41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Varga=20P=C3=A1l?= Date: Mon, 2 Jan 2023 19:48:21 +0100 Subject: [PATCH] =?UTF-8?q?'README.md'=20m=C3=B3dos=C3=ADt=C3=A1sa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 67575e0..0af2b08 100644 --- a/README.md +++ b/README.md @@ -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ó |