From c5b4696a1d5165e3fa9108e3559ec3fae308ffdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Varga=20P=C3=A1l?= Date: Tue, 9 Dec 2025 20:30:59 +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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 37180f6..98a6e6e 100644 --- a/README.md +++ b/README.md @@ -159,24 +159,24 @@ chmod +x sysroot-relativelinks.py Forráscsomag letöltése. ``` -wget https://download.qt.io/official_releases/qt/5.15/5.15.8/single/qt-everywhere-src-5.15.8.tar.xz +wget https://download.qt.io/archive/qt/5.15/5.15.8/single/qt-everywhere-opensource-src-5.15.8.tar.xz ``` Kicsomagolás. ``` -tar xvf qt-everywhere-src-5.15.8.tar.xz +tar xvf qt-everywhere-opensource-src-5.15.8.tar.xz ``` 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.8/qtbase/mkspecs/linux-arm-gnueabihf-g++ -sed -i -e 's/arm-linux-gnueabi-/arm-linux-gnueabihf-/g' qt-everywhere-src-5.15.8/qtbase/mkspecs/linux-arm-gnueabihf-g++/qmake.conf +cp -R qt-everywhere-src-5.15.8/qtbase/mkspecs/linux-arm-gnueabi-g++ qt-everywhere-opensource-src-5.15.8/qtbase/mkspecs/linux-arm-gnueabihf-g++ +sed -i -e 's/arm-linux-gnueabi-/arm-linux-gnueabihf-/g' qt-everywhere-opensource-src-5.15.8/qtbase/mkspecs/linux-arm-gnueabihf-g++/qmake.conf ``` 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.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-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 ``` 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ó |