QT-Compilation-OLIMEX/fr

From Qt Wiki
Jump to navigation Jump to search
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

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 ..

  1. 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/

  1. 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