天嵌 ARM开发社区

 找回密码
 注册
查看: 1767|回复: 1

ubuntu ./x86-qtopia-2.2.0-konqueror_build出现错误

[复制链接]
chenlicong 发表于 2010-12-20 15:15:53 | 显示全部楼层 |阅读模式
我的Linux系统是Ubuntu 10.04, 按开发板提供的Qt手册,./x86-qtopia-2.2.0-konqueror_build出现错误,末尾如下:

Build konqueror , please wait ...

.: 46: setQpeEnv: not found

 ERROR: Building Qtopia has failed.

解决方法如下所述

安装一些x的包
sudo apt-get -y install x-dev libx11-dev x11proto-xext-dev libxext-dev libqt3-mt-dev uuid uuid-dev
更新依赖关系:
sudo apt-get -f install

下载文件包:xlibs-static-dev.tar.gz,解压后,安装该deb包:sudo dpkg -i xlibs-static-dev_7.1.0-19_all.deb

手动修改x86-qtopia- 2.2.0/qt2/src/tools/qmemoryfile_unix.cpp 143行

    if (!f)
        f = ::open(tmpFile.latin1(), O_CREAT | O_WRONLY);   
修改为
    if (!f)
        f = ::open(tmpFile.latin1(), O_CREAT | O_WRONLY, 0666);

手动修改x86-qtopia-2.2.0/qtopia/src/libraries/qtopia/qmemoryfile_unix.cpp 141行

    if (!f)
        f = ::open(tmpFile.latin1(), O_CREAT | O_WRONLY);   
修改为
    if (!f)
        f = ::open(tmpFile.latin1(), O_CREAT | O_WRONLY, 0666);  

修改/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia/backend/vobject.cpp:419行
    char *dot = strrchr(g,'.');

    char *dot = (char*)strrchr(g,'.');

修正/x86-qtopia-2.2.0/qtopia/src/plugins/codecs/wavplugin/wavplugin.cpp:435行
    char *ext = strrchr( path.latin1(), '.' );
改为
    char *ext = (char*)strrchr( path.latin1(), '.' );

修改x86-qtopia-2.2.0-konqueror_biuld的第26行,

        . setQpeEnv
改为
        ./setQpeEnv

最后出现错误:
hecking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
但是 sudo ./test_x86 可以运行,能够出来qvfb。

只是configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. 这个问题不知道怎么解决,搜索里半天没有合适的回答。
天嵌_support1 发表于 2010-12-20 15:41:34 | 显示全部楼层
1# chenlicong


应该和你的开发环境有关了。
你现在编译的是浏览器。
不知道你编译qtopia的源代码了没有
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-28 03:19 , Processed in 1.028254 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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