<div> </div><div> </div><div>10.02.2017, 10:33, "Charles-Elie Gentil" &lt;mail@jiyuusoft.net&gt;:</div><blockquote type="cite"><div>Hi,<div> </div><div> </div><div>Yes … I do it.</div><div>I have just rebuild from qtwebkit-tp5.tar.xz with debug and release option.</div><div> </div><div>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> </div><div>5.8</div><div> |___lib</div><div>     |____QtCore.framework</div><div>          |_____Headers</div><div>          |_____QtCore</div><div>          |_____QtCore_debug</div><div>          |_____QtCore_debug.prl</div><div>          |_____QtCore.prl</div><div>          |_____Resources</div><div>          |_____Versions</div><div>     |____QtCore.framework.dSYM</div><div><div>     |____QtWebKit.framework</div><div>          |_____Headers</div><div>          |_____QtCore</div><div>          |_____Resources</div><div>          |_____Versions</div><div> </div></div><div> </div><div>So, *_debug, *.prl, *_debug.prl and *.dSYM are missing.</div><div> </div><div> </div><div> </div><div>Secondly, the error is : </div><div>    library not found for -lQt5WebKit</div><div> </div><div>but the lib should not be lQtWebKit  ?</div></div></blockquote><div> </div><div>It actually should be -framework QtWebKit</div><div>Please try patch https://github.com/annulen/webkit/pull/388</div><div> </div><blockquote type="cite"><div><div> </div><div><div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;text-align:start;text-transform:none;white-space:normal;"><br />Best regards,<br /><br />Charlie<br /> <div><a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a><br /><a href="http://blog.jiyuusoft.net/">http://blog.jiyuusoft.net</a></div></div></div> <div><blockquote type="cite"><div>Le 9 févr. 2017 à 18:23, Konstantin Tokarev &lt;<a href="mailto:annulen@yandex.ru">annulen@yandex.ru</a>&gt; a écrit :</div> <div><div><br /><br />09.02.2017, 20:00, "Charles-Élie G" &lt;<a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a>&gt;:<blockquote type="cite">Hi,<br /><br />Unfortunately, I have the same problem if I do it. :-(</blockquote><br />Oops, looks like my instruction was too sloppy, and you followed it verbatimly<br /><br />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 /><br />qtwebkit-tp5-qt58-darwin-x64<br />├── include<br />├── lib<br />└── mkspecs<br /><br />Structure of Qt looks like<br /><br />5.8<br />└── clang_64<br />   ├── bin<br />   ├── doc<br />   ├── include<br />   ├── lib<br />   ├── mkspecs<br />   ├── phrasebooks<br />   ├── plugins<br />   ├── qml<br />   └── translations<br /><br />As you could guess, to work properly contents of "include" need to be unpacked to "include" and so on<br /><br />So right unpack command is<br /><br />cd ....5.8/clang_64 &amp;&amp; tar --strip-components=1 -xJf ..../qtwebkit-tp5-qt58-darwin-x64.tar.xz<br /><br />(where .... are paths on your system that I don't know)<br /><br />I guess I should write detailed installation instruction :)<br /><br /> <blockquote type="cite">Envoyé de mon Galaxy S6 Orange<br /><br />-------- Message d'origine --------<br />De : Konstantin Tokarev &lt;<a href="mailto:annulen@yandex.ru">annulen@yandex.ru</a>&gt;<br />Date : 09/02/2017 08:43 (GMT+01:00)<br />À : Charles-Elie Gentil &lt;<a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a>&gt;<br />Cc : <a href="mailto:webkit-qt@lists.webkit.org">webkit-qt@lists.webkit.org</a><br />Objet : Re: [webkit-qt] Build and Install QtWebKit<br /><br />09.02.2017, 10:41, "Charles-Elie Gentil" &lt;<a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a>&gt;:<blockquote type="cite">I have just tested with the contents of qtwebkit-tp5-qt58-darwin-x64.tar.xz, pasted in /Users/charlie/qtwebkit.</blockquote><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 /> <blockquote type="cite">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 /><a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a><br /><a href="http://blog.jiyuusoft.net/">http://blog.jiyuusoft.net</a><br /> <blockquote type="cite">Le 9 févr. 2017 à 08:25, Konstantin Tokarev &lt;<a href="mailto:annulen@yandex.ru">annulen@yandex.ru</a>&gt; a écrit :<br /><br />09.02.2017, 10:13, "Charles-Elie Gentil" &lt;<a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a>&gt;:<blockquote type="cite">Hello,<br /><br />@Konstantin : Thank you for your help.<br /><br />I did two tests :<br />   1°) with QtWebKit form here  : <a href="https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5">https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5</a> (qtwebkit-tp5.tar.xz)<br />   2°) with QtWebKit from qt Community : <a href="http://download.qt.io/community_releases/5.8/5.8.0-final/">http://download.qt.io/community_releases/5.8/5.8.0-final/</a><br /><br />Note :<br />   - with 1°) CMAKE_INSTALL_PREFIX doesn’t work, and I use « —prefix » option. ninja_install works.</blockquote><br />Indeed, --prefix is a correct option<br /> <blockquote type="cite">   - with 2°) ninja_install doesn’t work.</blockquote><br />Right, because this is a legacy QtWebKit that uses qmake-based build system, which does not support ninja<br /> <blockquote type="cite">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 (<a href="https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5">https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5</a>).<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 ?</blockquote><br />If you use custom prefix, read<br /><a href="https://github.com/annulen/webkit/wiki/Using-QtWebKit-in-your-project">https://github.com/annulen/webkit/wiki/Using-QtWebKit-in-your-project</a><br /><br />By default, TP5 installs into Qt prefix, in this case QT+=webkit should work out of the box<br /> <blockquote type="cite">Best regards,<br /><br />Charlie<br /><br /><a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a><br /><a href="http://blog.jiyuusoft.net/">http://blog.jiyuusoft.net</a><br /> <blockquote type="cite">Le 8 févr. 2017 à 08:41, Konstantin Tokarev &lt;<a href="mailto:annulen@yandex.ru">annulen@yandex.ru</a>&gt; a écrit :<br /><br />08.02.2017, 08:31, "Charles-Elie Gentil" &lt;<a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a>&gt;:<blockquote type="cite">Hello,<br /><br />I want use QtWebKit and so, I build it following these instructions : <a href="https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-OS-X">https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-OS-X</a><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.</blockquote><br />cd WebKitBuild/Release &amp;&amp; ninja install<br /> <blockquote type="cite">Best regards,<br /><br />Charlie<br /><br /><a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a><br /><a href="http://blog.jiyuusoft.net/">http://blog.jiyuusoft.net</a><br />,<br /><br />_______________________________________________<br />webkit-qt mailing list<br /><a href="mailto:webkit-qt@lists.webkit.org">webkit-qt@lists.webkit.org</a><br /><a href="https://lists.webkit.org/mailman/listinfo/webkit-qt">https://lists.webkit.org/mailman/listinfo/webkit-qt</a></blockquote><br />--<br />Regards,<br />Konstantin</blockquote>,<br /><br />_______________________________________________<br />webkit-qt mailing list<br /><a href="mailto:webkit-qt@lists.webkit.org">webkit-qt@lists.webkit.org</a><br /><a href="https://lists.webkit.org/mailman/listinfo/webkit-qt">https://lists.webkit.org/mailman/listinfo/webkit-qt</a></blockquote><br />--<br />Regards,<br />Konstantin</blockquote></blockquote><br />--<br />Regards,<br />Konstantin</blockquote><br /><br />-- <br />Regards,<br />Konstantin</div></div></blockquote></div></div></div></blockquote><div> </div><div> </div><div>-- <br />Regards,</div><div>Konstantin</div><div> </div>