1

Is it possible to access QtWebKit when Qt has been configured to link statically? I can use QWebView easily on a dynamic Qt, but when I use the -static flag to configure Qt, QtWebKit does not get built. Can that be done, and if so, how?

4

2 回答 2

1

您可以在PhantomJS中看到它是如何完成的。我们包含 Qt 和 WebKit 的副本(出于许多与这里无关的原因)并静态构建所有内容。最终结果是在 Windows、Mac OS X 和 Linux 上的单个 PhantomJS 可执行文件。

于 2012-12-27T16:29:49.187 回答
0

它被禁用是因为 WebKit 的静态构建已经被破坏了很长一段时间。如果您自己解决问题,则可以完成。上游(Apple)似乎没有任何兴趣解决这些问题。

于 2012-12-27T14:55:24.423 回答