From c5b1fdbbbad7db9dd882a7dd8b83260173d6c64b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Varga=20P=C3=A1l?= Date: Tue, 25 Oct 2022 13:53:08 +0200 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 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b3d3eb0..49e6cac 100644 --- a/README.md +++ b/README.md @@ -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