<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="">Ok, it works with a Qt application. Unfortunately, with QML application it doesn’t work.<div class="">I have this message :</div><div class=""><div style="margin: 0px;" class=""><!--StartFragment--><span style=" color:#aa0000;" class="">plugin cannot be loaded for module "QtWebKit": Impossible de charger la bibliothèque /Applications/Qt/5.8/clang_64/qml/QtWebKit/libqmlwebkitplugin.dylib&nbsp;: (dlopen(/Applications/Qt/5.8/clang_64/qml/QtWebKit/libqmlwebkitplugin.dylib, 133): Library not loaded: @rpath/QtWebKit.framework/Versions/5/QtWebKit</span></div><div style="margin: 0px;" class=""><span style=" color:#aa0000;" class="">  Referenced from: /Applications/Qt/5.8/clang_64/qml/QtWebKit/libqmlwebkitplugin.dylib</span></div><div style="margin: 0px;" class=""><span style=" color:#aa0000;" class="">  Reason: image not found)</span><!--EndFragment--></div></div><div class=""><br class=""></div><div class="">In my Qt installation, I have :</div><div class="">QyWebKit.framework</div><div class="">&nbsp; &nbsp;|_____Version</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>|_____Current</div><div class="">&nbsp; &nbsp; &nbsp; <span class="Apple-tab-span" style="white-space:pre">        </span>|_____5.602.3</div><div class="">&nbsp; &nbsp; &nbsp;&nbsp;<span class="Apple-tab-span" style="white-space: pre;">        </span>|_____Ressources</div><div class="">&nbsp; &nbsp; &nbsp;&nbsp;<span class="Apple-tab-span" style="white-space: pre;">        </span>|_____QtWebKit</div><div class="">&nbsp; &nbsp; &nbsp;&nbsp;<span class="Apple-tab-span" style="white-space: pre;">        </span>|_____Headers</div><div class=""><span class="Apple-tab-span" style="white-space:pre">                </span></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Maybe change&nbsp;
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><!--StartFragment--><span style=" color:#008000;" class="">#define</span><span style=" color:#c0c0c0;" class=""> </span><span style=" color:#008000;" class="">QTWEBKIT_VERSION</span><span style=" color:#c0c0c0;" class=""> </span><span style=" color:#008000;" class="">0x05f00</span>${PROJECT_VERSION_MICRO}<!--EndFragment--></pre><div class="">&nbsp;</div><div class="">to point to Current shortcut ?</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 10 févr. 2017 à 20:27, Charles-Elie Gentil &lt;<a href="mailto:mail@jiyuusoft.net" class="">mail@jiyuusoft.net</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Sorry, I don’t see all modifications !!!! :-(<div class=""><br class=""></div><div class="">I do a new test.<br class=""><div class="">
<div style="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-stroke-width: 0px;" class=""><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=""><a href="http://blog.jiyuusoft.net" class="">http://blog.jiyuusoft.net</a><br class=""></div></div>

</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">Le 10 févr. 2017 à 20:14, Charles-Elie Gentil &lt;<a href="mailto:mail@jiyuusoft.net" class="">mail@jiyuusoft.net</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Configuring incomplete, errors occurred!</span></div><div class=""><br class="webkit-block-placeholder"></div><div class="">But I think that an error with the patch of</div><div class=""><a href="https://github.com/annulen/webkit/pull/388/files/f1c8914d5aca972879f18c4db2a4978f348375d6#diff-462c2fb6b51367028375382a4b55721b" class="file-info link-gray-dark" title="Source/cmake/ECMGeneratePriFile.cmake">Source/cmake/ECMGeneratePriFile.cmake</a></div><div class=""><br class=""></div>and<div class=""><br class=""></div><div class=""><a href="https://github.com/annulen/webkit/pull/388/files/f1c8914d5aca972879f18c4db2a4978f348375d6#diff-edfba8c525a826e4adf2be41db348812" class="file-info link-gray-dark" title="Source/cmake/ECMGeneratePkgConfigFile.cmake">Source/cmake/ECMGeneratePkgConfigFile.cmake</a><font class=""><a href="https://github.com/annulen/webkit/pull/388/files/f1c8914d5aca972879f18c4db2a4978f348375d6#diff-462c2fb6b51367028375382a4b55721b" class="file-info link-gray-dark" title="Source/cmake/ECMGeneratePriFile.cmake"><br class=""></a></font><div class="">
<div style="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-stroke-width: 0px;" class=""><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=""><a href="http://blog.jiyuusoft.net/" class="">http://blog.jiyuusoft.net</a><br class=""></div></div>

</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">Le 10 févr. 2017 à 18:44, 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="">&nbsp;</div><div class="">&nbsp;</div><div class="">10.02.2017, 10:33, "Charles-Elie Gentil" &lt;<a href="mailto:mail@jiyuusoft.net" class="">mail@jiyuusoft.net</a>&gt;:</div><blockquote type="cite" class=""><div class="">Hi,<div class="">&nbsp;</div><div class="">&nbsp;</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="">&nbsp;</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="">&nbsp;</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="">&nbsp;</div></div><div class="">&nbsp;</div><div class="">So, *_debug, *.prl, *_debug.prl and *.dSYM are missing.</div><div class="">&nbsp;</div><div class="">&nbsp;</div><div class="">&nbsp;</div><div class="">Secondly, the error is :&nbsp;</div><div class="">&nbsp; &nbsp; library not found for -lQt5WebKit</div><div class="">&nbsp;</div><div class="">but the lib should not be lQtWebKit &nbsp;?</div></div></blockquote><div class="">&nbsp;</div><div class="">It actually should be -framework QtWebKit</div><div class="">Please try patch <a href="https://github.com/annulen/webkit/pull/388" class="">https://github.com/annulen/webkit/pull/388</a></div><div class="">&nbsp;</div><blockquote type="cite" class=""><div class=""><div class="">&nbsp;</div><div class=""><div class=""><div style="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;" class=""><br class="">Best regards,<br class=""><br class="">Charlie<br class="">&nbsp;<div class=""><a href="mailto:mail@jiyuusoft.net" class="">mail@jiyuusoft.net</a><br class=""><a href="http://blog.jiyuusoft.net/" class="">http://blog.jiyuusoft.net</a></div></div></div>&nbsp;<div class=""><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>&nbsp;<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;:<blockquote type="cite" class="">Hi,<br class=""><br class="">Unfortunately, I have the same problem if I do it. :-(</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="">&nbsp;<blockquote type="cite" 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;:<blockquote type="cite" class="">I have just tested with the contents of qtwebkit-tp5-qt58-darwin-x64.tar.xz, pasted in /Users/charlie/qtwebkit.</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="">&nbsp;<blockquote type="cite" 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=""><a href="http://blog.jiyuusoft.net/" class="">http://blog.jiyuusoft.net</a><br class="">&nbsp;<blockquote type="cite" class="">Le 9 févr. 2017 à 08:25, Konstantin Tokarev &lt;<a href="mailto:annulen@yandex.ru" class="">annulen@yandex.ru</a>&gt; a écrit :<br class=""><br class="">09.02.2017, 10:13, "Charles-Elie Gentil" &lt;<a href="mailto:mail@jiyuusoft.net" class="">mail@jiyuusoft.net</a>&gt;:<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;: <a href="https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5" class="">https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5</a>&nbsp;(qtwebkit-tp5.tar.xz)<br class="">&nbsp; &nbsp;2°) with QtWebKit from qt Community :&nbsp;<a href="http://download.qt.io/community_releases/5.8/5.8.0-final/" class="">http://download.qt.io/community_releases/5.8/5.8.0-final/</a><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.</blockquote><br class="">Indeed, --prefix is a correct option<br class="">&nbsp;<blockquote type="cite" class="">&nbsp; &nbsp;- with 2°) ninja_install doesn’t work.</blockquote><br class="">Right, because this is a legacy QtWebKit that uses qmake-based build system, which does not support ninja<br class="">&nbsp;<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;(<a href="https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5" class="">https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5</a>).<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 ?</blockquote><br class="">If you use custom prefix, read<br class=""><a href="https://github.com/annulen/webkit/wiki/Using-QtWebKit-in-your-project" class="">https://github.com/annulen/webkit/wiki/Using-QtWebKit-in-your-project</a><br class=""><br class="">By default, TP5 installs into Qt prefix, in this case QT+=webkit should work out of the box<br class="">&nbsp;<blockquote type="cite" 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=""><a href="http://blog.jiyuusoft.net/" class="">http://blog.jiyuusoft.net</a><br class="">&nbsp;<blockquote type="cite" class="">Le 8 févr. 2017 à 08:41, Konstantin Tokarev &lt;<a href="mailto:annulen@yandex.ru" class="">annulen@yandex.ru</a>&gt; a écrit :<br class=""><br class="">08.02.2017, 08:31, "Charles-Elie Gentil" &lt;<a href="mailto:mail@jiyuusoft.net" class="">mail@jiyuusoft.net</a>&gt;:<blockquote type="cite" class="">Hello,<br class=""><br class="">I want use QtWebKit and so, I build it following these instructions :&nbsp;<a href="https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-OS-X" class="">https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-OS-X</a><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.</blockquote><br class="">cd WebKitBuild/Release &amp;&amp; ninja install<br class="">&nbsp;<blockquote type="cite" 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=""><a href="http://blog.jiyuusoft.net/" class="">http://blog.jiyuusoft.net</a><br class="">,<br class=""><br class="">_______________________________________________<br class="">webkit-qt mailing list<br class=""><a href="mailto:webkit-qt@lists.webkit.org" class="">webkit-qt@lists.webkit.org</a><br class=""><a href="https://lists.webkit.org/mailman/listinfo/webkit-qt" class="">https://lists.webkit.org/mailman/listinfo/webkit-qt</a></blockquote><br class="">--<br class="">Regards,<br class="">Konstantin</blockquote>,<br class=""><br class="">_______________________________________________<br class="">webkit-qt mailing list<br class=""><a href="mailto:webkit-qt@lists.webkit.org" class="">webkit-qt@lists.webkit.org</a><br class=""><a href="https://lists.webkit.org/mailman/listinfo/webkit-qt" class="">https://lists.webkit.org/mailman/listinfo/webkit-qt</a></blockquote><br class="">--<br class="">Regards,<br class="">Konstantin</blockquote></blockquote><br class="">--<br class="">Regards,<br class="">Konstantin</blockquote><br class=""><br class="">--&nbsp;<br class="">Regards,<br class="">Konstantin</div></div></blockquote></div></div></div></blockquote><div class="">&nbsp;</div><div class="">&nbsp;</div><div class="">--&nbsp;<br class="">Regards,</div><div class="">Konstantin</div><div class="">&nbsp;</div></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">webkit-qt mailing list<br class=""><a href="mailto:webkit-qt@lists.webkit.org" class="">webkit-qt@lists.webkit.org</a><br class=""><a href="https://lists.webkit.org/mailman/listinfo/webkit-qt" class="">https://lists.webkit.org/mailman/listinfo/webkit-qt</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">webkit-qt mailing list<br class=""><a href="mailto:webkit-qt@lists.webkit.org" class="">webkit-qt@lists.webkit.org</a><br class="">https://lists.webkit.org/mailman/listinfo/webkit-qt<br class=""></div></blockquote></div><br class=""></div></div></body></html>