#tar zxvf qt-everywhere-opensource-src-4.7.0.tar.gz |
#cd mkspecs/qws/linux-arm-g++ -rw-r--r-- 1 pi users 520 Sep 10 2010 qmake.conf -rw-r--r-- 1 pi users 1984 Sep 10 2010 qplatformdefs.h #vi qmake.conf |
qmake.conf
# # qmake configuration for building with arm-linux-g++ # include(../../common/g++.conf) include(../../common/linux.conf) include(../../common/qws.conf) # modifications to g++.conf QMAKE_CC = arm-linux-gnueabihf-gcc QMAKE_CXX = arm-linux-gnueabihf-g++ QMAKE_LINK = arm-linux-gnueabihf-g++ QMAKE_LINK_SHLIB = arm-linux-gnueabihf-g++ # modifications to linux.conf QMAKE_AR = arm-linux-gnueabihf-ar cqs QMAKE_OBJCOPY = arm-linux-gnueabihf-objcopy QMAKE_STRIP = arm-linux-gnueabihf-strip load(qt_config) |
#./configure -embedded arm -xplatform qws/linux-arm-g++ -little-endian -host-little-endian Which edition of Qt do you want to use ? Type 'c' if you want to use the Commercial Edition. Type 'o' if you want to use the Open Source Edition. o |
-xplatform qws/linux-arm-g++ 는 크로스 컴파일(target platform)로 아까수정해준 qws/linux-arm-g++ 폴더에 qmake.conf파일을 참조하라는 옵션
-little-endian 타겟플랫폼이 little endian (LSB first)이라고 알려주는 옵션
You have not explicitly asked to use pkg-config and are cross-compiling. pkg-config will not be used to automatically query cflag/lib parameters for dependencies This is the Qt for Embedded Linux Open Source Edition. You are licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. You are also licensed to use this software under the terms of the GNU General Public License (GPL) versions 3. Type '3' to view the GNU General Public License version 3. Type 'L' to view the Lesser GNU General Public License version 2.1. Type 'yes' to accept this license offer. Type 'no' to decline this license offer. Do you accept the terms of either license? yes
|
Qt is now configured for building. Just run 'make'. Once everything is built, you must run 'make install'. Qt will be installed into /usr/local/Trolltech/QtEmbedded-4.7.0-arm To reconfigure, run 'make confclean' and 'configure |
#make |
#make install |
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
45 | mmap() 함수, munmap() 함수 | pjk | 2014.02.05 | 16741 |
44 | 6. Makefile 작성의 가이드라인 | pjk | 2014.02.05 | 2978 |
43 | 5. make 중요 옵션 정리 | pjk | 2014.02.05 | 3096 |
42 | 4. Makefile를 작성할 때 알면 좋은 것들 | pjk | 2014.02.05 | 3720 |
41 | 3. 매크로(Macro) 와 확장자(Suffix) 규칙 | pjk | 2014.02.05 | 3216 |
40 | 2. 간단한 Makefile | pjk | 2014.02.05 | 3158 |
39 | 1. make | pjk | 2014.02.05 | 2754 |
38 | 키패드 드라이버 | pjk | 2014.02.12 | 7227 |
37 | ioctl() 함수 | makersweb | 2014.02.27 | 15202 |
36 | file_operations | makersweb | 2014.02.27 | 3905 |
35 | 리눅스 디렉터리 구조 | makersweb | 2014.02.28 | 3871 |
34 | read() 함수, write() 함수 | makersweb | 2014.03.04 | 12057 |
33 | 리눅스 커널 소스코드 구성도 | makersweb | 2014.03.04 | 6162 |
32 | 디바이스 드라이버에 대해서 | makersweb | 2014.04.19 | 4816 |
31 | 리눅스 데스크탑 환경 종류 | pjk | 2015.02.11 | 5277 |
30 | 리눅스 프레임버퍼(Linux Frame Buffer) | makersweb | 2015.02.15 | 8400 |
29 | [IPC]D-Bus 소개 | makersweb | 2015.02.28 | 30505 |
» | Build Qt 4.7.0 for Embedded Linux | makersweb | 2015.05.25 | 6080 |
27 | UVC 장치를 사용할때 v4l2: select timeout 에러 발생 | makersweb | 2017.12.27 | 3084 |
26 | Ubuntu16.04에서 weston구동 | makersweb | 2017.12.28 | 1725 |