“can not find -ljscore”而我正在尝试构建Qt 4.7.1静态库 [英] "cannot find -ljscore" while I am trying to build Qt 4.7.1 static library

查看:119
本文介绍了“can not find -ljscore”而我正在尝试构建Qt 4.7.1静态库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图从最新的源代码构建静态的Qt库,但得到以下错误:

I tried to build static Qt library from the latest source, but got the following error:

/usr/bin/ld: cannot find -ljscore
collect2: ld returned 1 exit status

如何解决问题?

推荐答案

这是从4.7.0开始存在的Qt的构建系统中的一个错误,在失败的make调用之后,你必须复制libjscore.a和libjscore.prl(不知道他们的确切位置,搜索Qt构建树找到它们,在webkit的某处)到lib /文件夹并重新运行make。

That's a bug in Qt's build system existing since 4.7.0 and not fixed in 4.7.1. After the failing make call, you have to copy libjscore.a and libjscore.prl (don't know their exact locations, search the Qt build tree to find them, somewhere in webkit) to the lib/ folder and rerun make.

这篇关于“can not find -ljscore”而我正在尝试构建Qt 4.7.1静态库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆