[webkit-qt] Build and Install QtWebKit

Charles-Elie Gentil mail at jiyuusoft.net
Wed Feb 8 23:41:10 PST 2017


I have just tested with the contents of qtwebkit-tp5-qt58-darwin-x64.tar.xz, pasted in /Users/charlie/qtwebkit.

In my .pro file, I have added 
QMAKEPATH += /Users/charlie/qtwebkit
QT += webkit

I have the same problem.

I will test this morning with rebuilding my own QtWebkit from qtwebkit-tp5.tar.xz (The construction is relatively slow with my computer ;-) )

Thank


Best regards,

Charlie

mail at jiyuusoft.net
http://blog.jiyuusoft.net

> Le 9 févr. 2017 à 08:25, Konstantin Tokarev <annulen at yandex.ru> a écrit :
> 
> 
> 
> 09.02.2017, 10:13, "Charles-Elie Gentil" <mail at jiyuusoft.net>:
>> Hello,
>> 
>> @Konstantin : Thank you for your help.
>> 
>> I did two tests :
>>    1°) with QtWebKit form here  : https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5 (qtwebkit-tp5.tar.xz)
>>    2°) with QtWebKit from qt Community : http://download.qt.io/community_releases/5.8/5.8.0-final/
>> 
>> Note :
>>    - with 1°) CMAKE_INSTALL_PREFIX doesn’t work, and I use « —prefix » option. ninja_install works.
> 
> Indeed, --prefix is a correct option
> 
>>    - with 2°) ninja_install doesn’t work.
> 
> Right, because this is a legacy QtWebKit that uses qmake-based build system, which does not support ninja
> 
>> 
>> In the 2 cases I have, in WebKitBuild/Release several folders including libs and include. These 2 folders are similar to those included in qtwebkit-tp5-qt58-darwin-x64.tar.xz (https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5).
>> Currently, I only use the first solution (with tp5 of WebKit)
>> 
>> I work with Qt5.8 and qmake. I have installed QtWebKit in my Qt installation. I add webkit in my project :
>> QT+= webkit
>> 
>> Unfortunately, when I want compile my project, lQt5WebKit isn’t found.
>> 
>> Have you an idea ?
> 
> If you use custom prefix, read
> https://github.com/annulen/webkit/wiki/Using-QtWebKit-in-your-project
> 
> By default, TP5 installs into Qt prefix, in this case QT+=webkit should work out of the box
> 
>> 
>> Best regards,
>> 
>> Charlie
>> 
>> mail at jiyuusoft.net
>> http://blog.jiyuusoft.net
>> 
>>> Le 8 févr. 2017 à 08:41, Konstantin Tokarev <annulen at yandex.ru> a écrit :
>>> 
>>> 08.02.2017, 08:31, "Charles-Elie Gentil" <mail at jiyuusoft.net>:
>>>> Hello,
>>>> 
>>>> I want use QtWebKit and so, I build it following these instructions : https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-OS-X
>>>> I add a CMAKE_INSTALL_PREFIX to have this command :
>>>> 
>>>> ./Tools/Scripts/build-webkit --qt --cmakeargs="-Wno-dev -CMAKE_INSTALL_PREFIX=/path/to/my/dir »
>>>> 
>>>> The build correctly run but I can’t find the way to run the « install » command.
>>>> 
>>>> I try « ninja install », but I've this message
>>>> 
>>>> ninja: error: loading 'build.ninja': No such file or directory
>>>> 
>>>> Can you help me ?
>>>> 
>>>> Thank you very much.
>>> 
>>> cd WebKitBuild/Release && ninja install
>>> 
>>>> Best regards,
>>>> 
>>>> Charlie
>>>> 
>>>> mail at jiyuusoft.net
>>>> http://blog.jiyuusoft.net
>>>> ,
>>>> 
>>>> _______________________________________________
>>>> webkit-qt mailing list
>>>> webkit-qt at lists.webkit.org
>>>> https://lists.webkit.org/mailman/listinfo/webkit-qt
>>> 
>>> --
>>> Regards,
>>> Konstantin
>> ,
>> 
>> _______________________________________________
>> webkit-qt mailing list
>> webkit-qt at lists.webkit.org
>> https://lists.webkit.org/mailman/listinfo/webkit-qt
> 
> 
> -- 
> Regards,
> Konstantin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-qt/attachments/20170209/de3121e6/attachment-0001.html>


More information about the webkit-qt mailing list