标题:编译ARM版的qt4.8失败求助
作者:all.us
日期:2014-05-02 11:16
内容:
编译qt-everywhere-opensource-src-4.8.6时出现配置错误,弄了好久还是没解决,求帮忙,谢谢
系统环境:Ubuntu 14.04x86_64
gcc版本:arm-cortex_a8-linux-gnueabi
下面是配置选项:
./configure -prefix /opt/Qt4.85 -shared -release -force-pkg-config -embedded arm -xplatform qws/linux-arm-g++ -qt-libtiff -qt-libmng -qt-mouse-tslib -qt-mouse-pc -no-neon -nomake examples -qt-gfx-transformed -qt-libjpeg -qt-libpng -qt-mouse-linuxinput -no-mmx -qt3support -qt-mouse-linuxtp -no-3dnow -no-sse -no-sse2 -verbose -I/opt/tslib-1.0/include -L/opt/tslib-1.0/lib
输出信息:
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
Determining system architecture... (Linux:3.13.0-24-generic:x86_64)
64-bit AMD 80x86 (x86_64)
'arm' is supported
'x86_64' is supported
System architecture: 'arm'
Host architecture: 'x86_64'
Precompiled-headers support enabled.
Symbol visibility control enabled.
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
Creating qmake. Please wait...
make: Nothing to be done for `first'.
You have asked to use pkg-config and are cross-compiling.
Please make sure you have a correctly set-up pkg-config
environment!
Warning: PKG_CONFIG_SYSROOT/PKG_CONFIG_SYSROOT_DIR has not
been set. This means your toolchain's .pc files must c ..
#1 [jnny_cn 05-06 10:01]
估计你的库搜索路径不对,环境变量估计也没弄对
#2 [sywh 05-07 16:17]
我最近也在编qt 4.8.5 /embedded,移植求交流