QT-Compilation-OLIMEX/fr: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Montage du système de fichier distant (sshfs): | Montage du système de fichier distant (sshfs): | ||
mkdir /mnt/a20/ apt-get install -f sshfs autoconf libtool sshfs -o allow_other root | mkdir /mnt/a20/<br /> apt-get install -f sshfs autoconf libtool<br /> sshfs -o allow_other root<code>[targetAdress]:/ /mnt/a20/<br />git clone git://gitorious.org/cross-compile-tools/cross-compile-tools.git<br />cd cross-compile-tools<br />./fixQualifiedLibraryPaths /mnt/a20/ /usr/bin/arm-linux-gnueabihf-g++<br />cd .. | ||
# Décompression de Qt : | # Décompression de Qt : | ||
qeglfshooks_stub.cpp : wget https://drive.google.com/file/d/0B-9HldMPXk75YjRfX2dWTGthUWs/view?usp=sharing<br /> qmake.conf : wget https://drive.google.com/file/d/0B-9HldMPXk75Wi1ERGRCbllmSkE/view?usp=sharing | qeglfshooks_stub.cpp : wget https://drive.google.com/file/d/0B-9HldMPXk75YjRfX2dWTGthUWs/view?usp=sharing<br />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 <br /> 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+ | tar xvzf ressources/qt-everywhere-opensource-src-5.3.2.tar.gz<br />cd qt-everywhere-opensource-src-5.3.1<br /> cp -rfv qtbase/mkspecs/devices/linux-beagleboard-g++ qtbase/mkspecs/devices/linux-a20olimex-g++<br /> rm qtbase/mkspecs/devices/linux-a20olimex-g+''/qmake.conf<br />cd ..<br />cp qmake.conf qt-everywhere-opensource-src-5.3.1/qtbase/mkspecs/devices/linux-a20olimex-g/<br />cp qeglfshooks_stub.cpp qt-everywhere-opensource-src-5.3.1/qtbase/src/plugins/platforms/eglfs/ | ||
<br /># Compilation de Qt : | |||
# Compilation de Qt : | <br />./configure -opengl es2 -device linux-a20olimex-g''+ <s>device-option CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf</s> -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<br />make -j5 | ||
./configure | |||
-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 <br /> make -j5 | |||
make install | make install |
Revision as of 10:50, 24 February 2015
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