QT-Compilation-OLIMEX/fr: Difference between revisions
No edit summary |
m (Wieland moved page QT-Compilation-OLIMEX to QT-Compilation-OLIMEX/fr: not english) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Cleanup | reason=Auto-imported from ExpressionEngine.}} | |||
Montage du système de fichier distant (sshfs): | Montage du système de fichier distant (sshfs): | ||
mkdir /mnt/a20/ | 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 : | # Décompression de Qt : | ||
qeglfshooks_stub.cpp : wget https://drive.google.com/file/d/0B-9HldMPXk75YjRfX2dWTGthUWs/view?usp=sharing | 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 | make install |
Latest revision as of 11:43, 26 May 2015
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 ..
- 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