QT-Compilation-OLIMEX/fr
Montage du système de fichier distant (sshfs):
mkdir /mnt/a20/
apt-get install -f sshfs autoconf libtool sshfs -o allow_other root@[targetAdress]:/ /mnt/a20/
git clone git://gitorious.org/cross-compile-tools/cross-compile-tools.git cd cross-compile-tools ./fixQualifiedLibraryPaths /mnt/a20/ /usr/bin/arm-linux-gnueabihf-g++ cd ..
- Décompression de Qt :
qeglfshooks_stub.cpp : wget https://drive.google.com/file/d/0B-9HldMPXk75YjRfX2dWTGthUWs/view?usp=sharing qmake.conf : wget https://drive.google.com/file/d/0B-9HldMPXk75Wi1ERGRCbllmSkE/view?usp=sharing
tar xvzf ressources/qt-everywhere-opensource-src-5.3.2.tar.gz cd qt-everywhere-opensource-src-5.3.1
cp -rfv qtbase/mkspecs/devices/linux-beagleboard-g++ qtbase/mkspecs/devices/linux-a20olimex-g++ rm qtbase/mkspecs/devices/linux-a20olimex-g+/qmake.conf
cd .. cp qmake.conf qt-everywhere-opensource-src-5.3.1/qtbase/mkspecs/devices/linux-a20olimex-g/ cp qeglfshooks_stub.cpp qt-everywhere-opensource-src-5.3.1/qtbase/src/plugins/platforms/eglfs/
- Compilation de Qt :
./configure -opengl es2 -device linux-a20olimex-g+ -device-option CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- -sysroot /mnt/a20 -opensource -confirm-license -optimized-qmake -release -make libs -prefix /usr/local/qt5a20 -no-pch -nomake tests -no-xcb -eglfs -v -skip qtwebkit-examples -skip qtwebkit -tslib && cat qtbase/config.summary make -j5
make install