Error while building native extensions for capybara-webkit

不羁岁月 提交于 2019-12-01 07:08:16

I found a solution here : https://bugreports.qt-project.org/browse/QTBUG-27237

Following this specific workaround make it work on my computer.

It seems to be a bug specific to version 4.8.3, where rcc.exe path is not found correctly.

Also, you might encounter the same error as me after this: It turns out qmake compiled the webkit server into \capybara-webkit-0.12.1\src\release. And capybara-webkit builder expect to get this exe from the "debug" folder, see line 57 of capybara_webkit_builder.rb

I forked the git repository and change this source file to rely on "release" folder instead and it works!

Still, it took me 2 pretty bad workarounds to make it work... Maybe the installation is more straightforward using QT 4.7.X as recommended into the capybara-webkit installation procedure. I should test it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!