<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class=""><br class=""></div><div class="">Yes … I do it.</div><div class="">I have just rebuild from qtwebkit-tp5.tar.xz with debug and release option.</div><div class=""><br class=""></div><div class="">Firstly I notice that the building of QtWebkit don’t produce the same element that a standard installation of Qt. For example (on my mac) :</div><div class=""><br class=""></div><div class="">5.8</div><div class="">&nbsp;|___lib</div><div class="">&nbsp; &nbsp; &nbsp;|____QtCore.framework</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |_____Headers</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |_____QtCore</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |_____QtCore_debug</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |_____QtCore_debug.prl</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |_____QtCore.prl</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |_____Resources</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |_____Versions</div><div class="">&nbsp; &nbsp; &nbsp;|____QtCore.framework.dSYM</div><div class=""><div class="">&nbsp; &nbsp; &nbsp;|____QtWebKit.framework</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |_____Headers</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |_____QtCore</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |_____Resources</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |_____Versions</div><div class=""><br class=""></div></div><div class=""><br class=""></div><div class="">So, *_debug, *.prl, *_debug.prl and *.dSYM are missing.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Secondly, the error is :&nbsp;</div><div class="">&nbsp; &nbsp; library not found for -lQt5WebKit</div><div class=""><br class=""></div><div class="">but the lib should not be lQtWebKit &nbsp;?</div><div class=""><br class=""></div><div class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><br class="">Best regards,<br class=""><br class="">Charlie<br class=""><br class=""><div class=""><a href="mailto:mail@jiyuusoft.net" class="">mail@jiyuusoft.net</a><br class="">http://blog.jiyuusoft.net<br class=""></div></div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">Le 9 févr. 2017 à 18:23, Konstantin Tokarev &lt;<a href="mailto:annulen@yandex.ru" class="">annulen@yandex.ru</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><br class="">09.02.2017, 20:00, "Charles-Élie G" &lt;<a href="mailto:mail@jiyuusoft.net" class="">mail@jiyuusoft.net</a>&gt;:<br class=""><blockquote type="cite" class="">Hi,<br class=""><br class="">Unfortunately, I have the same problem if I do it. :-(<br class=""></blockquote><br class="">Oops, looks like my instruction was too sloppy, and you followed it verbatimly<br class=""><br class="">qtwebkit-tp5-qt58-darwin-x64.tar.xz contains wrapping directory "qtwebkit-tp5-qt58-darwin-x64" to avoid tarbombing, so it's structure looks like<br class=""><br class="">qtwebkit-tp5-qt58-darwin-x64<br class="">├── include<br class="">├── lib<br class="">└── mkspecs<br class=""><br class="">Structure of Qt looks like<br class=""><br class="">5.8<br class="">└── clang_64<br class=""> &nbsp;&nbsp;&nbsp;├── bin<br class=""> &nbsp;&nbsp;&nbsp;├── doc<br class=""> &nbsp;&nbsp;&nbsp;├── include<br class=""> &nbsp;&nbsp;&nbsp;├── lib<br class=""> &nbsp;&nbsp;&nbsp;├── mkspecs<br class=""> &nbsp;&nbsp;&nbsp;├── phrasebooks<br class=""> &nbsp;&nbsp;&nbsp;├── plugins<br class=""> &nbsp;&nbsp;&nbsp;├── qml<br class=""> &nbsp;&nbsp;&nbsp;└── translations<br class=""><br class="">As you could guess, to work properly contents of "include" need to be unpacked to "include" and so on<br class=""><br class="">So right unpack command is<br class=""><br class="">cd ....5.8/clang_64 &amp;&amp; tar --strip-components=1 -xJf ..../qtwebkit-tp5-qt58-darwin-x64.tar.xz<br class=""><br class="">(where .... are paths on your system that I don't know)<br class=""><br class="">I guess I should write detailed installation instruction :)<br class=""><br class=""><blockquote type="cite" class=""><br class="">Envoyé de mon Galaxy S6 Orange<br class=""><br class="">-------- Message d'origine --------<br class="">De : Konstantin Tokarev &lt;<a href="mailto:annulen@yandex.ru" class="">annulen@yandex.ru</a>&gt;<br class="">Date : 09/02/2017 08:43 (GMT+01:00)<br class="">À : Charles-Elie Gentil &lt;<a href="mailto:mail@jiyuusoft.net" class="">mail@jiyuusoft.net</a>&gt;<br class="">Cc : <a href="mailto:webkit-qt@lists.webkit.org" class="">webkit-qt@lists.webkit.org</a><br class="">Objet : Re: [webkit-qt] Build and Install QtWebKit<br class=""><br class="">09.02.2017, 10:41, "Charles-Elie Gentil" &lt;<a href="mailto:mail@jiyuusoft.net" class="">mail@jiyuusoft.net</a>&gt;:<br class=""><blockquote type="cite" class="">I have just tested with the contents of qtwebkit-tp5-qt58-darwin-x64.tar.xz, pasted in /Users/charlie/qtwebkit.<br class=""></blockquote><br class="">You need to unpack this archive into prefix of your Qt installation, n this case it should be&nbsp; something like ..../5.8/clang_64<br class=""><br class=""><blockquote type="cite" class=""><br class="">In my .pro file, I have added<br class=""><br class="">QMAKEPATH += /Users/charlie/qtwebkit<br class=""><br class="">QT += webkit<br class=""><br class="">I have the same problem.<br class=""><br class="">I will test this morning with rebuilding my own QtWebkit from qtwebkit-tp5.tar.xz (The construction is relatively slow with my computer ;-) )<br class=""><br class="">Thank<br class=""><br class="">Best regards,<br class=""><br class="">Charlie<br class=""><br class=""><a href="mailto:mail@jiyuusoft.net" class="">mail@jiyuusoft.net</a><br class="">http://blog.jiyuusoft.net<br class=""><br class=""><blockquote type="cite" class="">Le 9 févr. 2017 à 08:25, Konstantin Tokarev &lt;annulen@yandex.ru&gt; a écrit :<br class=""><br class="">09.02.2017, 10:13, "Charles-Elie Gentil" &lt;mail@jiyuusoft.net&gt;:<br class=""><blockquote type="cite" class="">Hello,<br class=""><br class="">@Konstantin : Thank you for your help.<br class=""><br class="">I did two tests :<br class="">&nbsp; &nbsp;1°) with QtWebKit form here &nbsp;: https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5&nbsp;(qtwebkit-tp5.tar.xz)<br class="">&nbsp; &nbsp;2°) with QtWebKit from qt Community :&nbsp;http://download.qt.io/community_releases/5.8/5.8.0-final/<br class=""><br class="">Note :<br class="">&nbsp; &nbsp;- with 1°) CMAKE_INSTALL_PREFIX doesn’t work, and I use «&nbsp;—prefix&nbsp;» option. ninja_install works.<br class=""></blockquote><br class="">Indeed, --prefix is a correct option<br class=""><br class=""><blockquote type="cite" class="">&nbsp; &nbsp;- with 2°) ninja_install doesn’t work.<br class=""></blockquote><br class="">Right, because this is a legacy QtWebKit that uses qmake-based build system, which does not support ninja<br class=""><br class=""><blockquote type="cite" class="">In the 2 cases I have, in WebKitBuild/Release several folders including libs and include. These 2 folders are similar to those included in&nbsp;qtwebkit-tp5-qt58-darwin-x64.tar.xz&nbsp;(https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5).<br class="">Currently, I only use the first solution (with tp5 of WebKit)<br class=""><br class="">I work with Qt5.8 and qmake. I have installed QtWebKit in my Qt installation. I add webkit in my project :<br class="">QT+= webkit<br class=""><br class="">Unfortunately, when I want compile my project, lQt5WebKit isn’t found.<br class=""><br class="">Have you an idea ?<br class=""></blockquote><br class="">If you use custom prefix, read<br class="">https://github.com/annulen/webkit/wiki/Using-QtWebKit-in-your-project<br class=""><br class="">By default, TP5 installs into Qt prefix, in this case QT+=webkit should work out of the box<br class=""><br class=""><blockquote type="cite" class="">Best regards,<br class=""><br class="">Charlie<br class=""><br class="">mail@jiyuusoft.net<br class="">http://blog.jiyuusoft.net<br class=""><br class=""><blockquote type="cite" class="">Le 8 févr. 2017 à 08:41, Konstantin Tokarev &lt;annulen@yandex.ru&gt; a écrit :<br class=""><br class="">08.02.2017, 08:31, "Charles-Elie Gentil" &lt;mail@jiyuusoft.net&gt;:<br class=""><blockquote type="cite" class="">Hello,<br class=""><br class="">I want use QtWebKit and so, I build it following these instructions :&nbsp;https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-OS-X<br class="">I add a CMAKE_INSTALL_PREFIX to have this command :<br class=""><br class="">./Tools/Scripts/build-webkit --qt --cmakeargs="-Wno-dev -CMAKE_INSTALL_PREFIX=/path/to/my/dir&nbsp;»<br class=""><br class="">The build correctly run but I can’t find the way to run the «&nbsp;install&nbsp;» command.<br class=""><br class="">I try «&nbsp;ninja install&nbsp;», but I've this message<br class=""><br class="">ninja: error: loading 'build.ninja': No such file or directory<br class=""><br class="">Can you help me ?<br class=""><br class="">Thank you very much.<br class=""></blockquote><br class="">cd WebKitBuild/Release &amp;&amp; ninja install<br class=""><br class=""><blockquote type="cite" class="">Best regards,<br class=""><br class="">Charlie<br class=""><br class="">mail@jiyuusoft.net<br class="">http://blog.jiyuusoft.net<br class="">,<br class=""><br class="">_______________________________________________<br class="">webkit-qt mailing list<br class="">webkit-qt@lists.webkit.org<br class="">https://lists.webkit.org/mailman/listinfo/webkit-qt<br class=""></blockquote><br class="">--<br class="">Regards,<br class="">Konstantin<br class=""></blockquote>,<br class=""><br class="">_______________________________________________<br class="">webkit-qt mailing list<br class="">webkit-qt@lists.webkit.org<br class="">https://lists.webkit.org/mailman/listinfo/webkit-qt<br class=""></blockquote><br class="">--<br class="">Regards,<br class="">Konstantin<br class=""></blockquote></blockquote><br class="">--<br class="">Regards,<br class="">Konstantin<br class=""></blockquote><br class=""><br class="">--&nbsp;<br class="">Regards,<br class="">Konstantin<br class=""></div></div></blockquote></div><br class=""></div></body></html>