明远智睿技术论坛

 找回密码
 立即注册
搜索
查看: 9456|回复: 12
打印 上一主题 下一主题

QT4.8.5 ARM平台移植编译问题?

[复制链接]

1

主题

2

帖子

17

积分

新手上路

Rank: 1

积分
17
跳转到指定楼层
楼主
发表于 2016-12-5 17:24:45 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 deanji0 于 2016-12-5 17:27 编辑


你好,我按照qt平台移植手册移植ARM交叉编译的时候,进入源码文件执行./
run.sh遇到下面错误,怎么解决呢?




work@work-virtual-machine:~/qt_src/qt-everywhere-opensource-src-4.8.5$ ./run.sh


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.


You have already accepted the terms of the  license.


Creating qmake. Please wait...
make: 没有什么可以做的为 `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 contain
the paths to the toolchain's libraries & headers. If configure
tests are failing, please check these files.


The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/home/work/qt_src/qt-everywhere-opensource-src-4.8.5/mkspecs/qws/linux-arm-fsl-gnueabi-g++.



回复

使用道具 举报

1

主题

2

帖子

17

积分

新手上路

Rank: 1

积分
17
沙发
 楼主| 发表于 2016-12-5 20:47:36 | 显示全部楼层
(internal):1: Using OS scope before setting MAKEFILE_GENERATOR
(internal):1: Using OS scope before setting MAKEFILE_GENERATOR
(internal):1: Using OS scope before setting MAKEFILE_GENERATOR
(internal):1: Using OS scope before setting MAKEFILE_GENERATOR
(internal):1: Using OS scope before setting MAKEFILE_GENERATOR
MAKEFILE_GENERATOR variable not set as a result of parsing : /home/work/qt_src/qt-everywhere-opensource-src-4.8.5/config.tests/unix/tslib/tslib.pro. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more.
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/home/work/qt_src/qt-everywhere-opensource-src-4.8.5/mkspecs/qws/linux-arm-fsl-gnueabi-g++.
我现在编译错误变了点 错误信息如上
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|明远智睿  

GMT+8, 2024-5-21 10:45 , Processed in 0.061425 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表