标题:静态编译出现 cannot find -lwebcore
作者:tsuibin
日期:2012-04-05 12:21
内容:
最新的 Qt4.8.1 静态编译 cannot find -lwebcore
配置参数
./configure -static -fast -opensource -embedded arm-gnueabi -no-qt3support -little-endian -no-rpath
这个问题需要怎么解决
只能屏蔽webkit吗
#1 [myseemylife 04-11 18:40]
你在arm上要用到webkit的东东吗?
#2 [joyce3800 06-14 11:27]
1 down vote
Almost impossible. Webkit uses stand along makefiles other than the makefiles generated by configure tool. You can check src\3rdparty\webkit\source yourself.
If you tried to compile Qt static with webkit, you'll meet a error says cannot find -lwebcore. In fact, the webcore.a is generated at src\3rdparty\webkit\source\webcore\release, so does -ljscore. But if you copy them to /lib yourslef, link error always popup.
I've tried to edit makefiles of webcore and jscore adding -static, but it didn't work at all.
Sadly, that's all what I got now.