<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>Hi,</div><div><br></div><div><br></div><div>Unfortunately, I have the same problem if I do it. :-(</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Envoyé de mon Galaxy S6 Orange</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Message d'origine --------</div><div>De : Konstantin Tokarev <annulen@yandex.ru> </div><div>Date : 09/02/2017 08:43 (GMT+01:00) </div><div>À : Charles-Elie Gentil <mail@jiyuusoft.net> </div><div>Cc : webkit-qt@lists.webkit.org </div><div>Objet : Re: [webkit-qt] Build and Install QtWebKit </div><div><br></div></div><br><br>09.02.2017, 10:41, "Charles-Elie Gentil" <mail@jiyuusoft.net>:<br>> I have just tested with the contents of qtwebkit-tp5-qt58-darwin-x64.tar.xz, pasted in /Users/charlie/qtwebkit.<br><br>You need to unpack this archive into prefix of your Qt installation, n this case it should be something like ..../5.8/clang_64<br><br>><br>> In my .pro file, I have added<br>><br>> QMAKEPATH += /Users/charlie/qtwebkit<br>><br>> QT += webkit<br>><br>> I have the same problem.<br>><br>> I will test this morning with rebuilding my own QtWebkit from qtwebkit-tp5.tar.xz (The construction is relatively slow with my computer ;-) )<br>><br>> Thank<br>><br>> Best regards,<br>><br>> Charlie<br>><br>> mail@jiyuusoft.net<br>> http://blog.jiyuusoft.net<br>><br>>> Le 9 févr. 2017 à 08:25, Konstantin Tokarev <annulen@yandex.ru> a écrit :<br>>><br>>> 09.02.2017, 10:13, "Charles-Elie Gentil" <mail@jiyuusoft.net>:<br>>>> Hello,<br>>>><br>>>> @Konstantin : Thank you for your help.<br>>>><br>>>> I did two tests :<br>>>> 1°) with QtWebKit form here : https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5 (qtwebkit-tp5.tar.xz)<br>>>> 2°) with QtWebKit from qt Community : http://download.qt.io/community_releases/5.8/5.8.0-final/<br>>>><br>>>> Note :<br>>>> - with 1°) CMAKE_INSTALL_PREFIX doesn’t work, and I use « —prefix » option. ninja_install works.<br>>><br>>> Indeed, --prefix is a correct option<br>>><br>>>> - with 2°) ninja_install doesn’t work.<br>>><br>>> Right, because this is a legacy QtWebKit that uses qmake-based build system, which does not support ninja<br>>><br>>>> 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).<br>>>> Currently, I only use the first solution (with tp5 of WebKit)<br>>>><br>>>> I work with Qt5.8 and qmake. I have installed QtWebKit in my Qt installation. I add webkit in my project :<br>>>> QT+= webkit<br>>>><br>>>> Unfortunately, when I want compile my project, lQt5WebKit isn’t found.<br>>>><br>>>> Have you an idea ?<br>>><br>>> If you use custom prefix, read<br>>> https://github.com/annulen/webkit/wiki/Using-QtWebKit-in-your-project<br>>><br>>> By default, TP5 installs into Qt prefix, in this case QT+=webkit should work out of the box<br>>><br>>>> Best regards,<br>>>><br>>>> Charlie<br>>>><br>>>> mail@jiyuusoft.net<br>>>> http://blog.jiyuusoft.net<br>>>><br>>>>> Le 8 févr. 2017 à 08:41, Konstantin Tokarev <annulen@yandex.ru> a écrit :<br>>>>><br>>>>> 08.02.2017, 08:31, "Charles-Elie Gentil" <mail@jiyuusoft.net>:<br>>>>>> Hello,<br>>>>>><br>>>>>> I want use QtWebKit and so, I build it following these instructions : https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-OS-X<br>>>>>> I add a CMAKE_INSTALL_PREFIX to have this command :<br>>>>>><br>>>>>> ./Tools/Scripts/build-webkit --qt --cmakeargs="-Wno-dev -CMAKE_INSTALL_PREFIX=/path/to/my/dir »<br>>>>>><br>>>>>> The build correctly run but I can’t find the way to run the « install » command.<br>>>>>><br>>>>>> I try « ninja install », but I've this message<br>>>>>><br>>>>>> ninja: error: loading 'build.ninja': No such file or directory<br>>>>>><br>>>>>> Can you help me ?<br>>>>>><br>>>>>> Thank you very much.<br>>>>><br>>>>> cd WebKitBuild/Release && ninja install<br>>>>><br>>>>>> Best regards,<br>>>>>><br>>>>>> Charlie<br>>>>>><br>>>>>> mail@jiyuusoft.net<br>>>>>> http://blog.jiyuusoft.net<br>>>>>> ,<br>>>>>><br>>>>>> _______________________________________________<br>>>>>> webkit-qt mailing list<br>>>>>> webkit-qt@lists.webkit.org<br>>>>>> https://lists.webkit.org/mailman/listinfo/webkit-qt<br>>>>><br>>>>> --<br>>>>> Regards,<br>>>>> Konstantin<br>>>> ,<br>>>><br>>>> _______________________________________________<br>>>> webkit-qt mailing list<br>>>> webkit-qt@lists.webkit.org<br>>>> https://lists.webkit.org/mailman/listinfo/webkit-qt<br>>><br>>> --<br>>> Regards,<br>>> Konstantin<br><br><br>-- <br>Regards,<br>Konstantin<br></body></html>