<div> </div><div> </div><div>10.02.2017, 23:42, "Charles-Elie Gentil" &lt;mail@jiyuusoft.net&gt;:</div><blockquote type="cite"><div>Ok, it works with a Qt application. Unfortunately, with QML application it doesn’t work.</div></blockquote><div> </div><div>Indeed, QML API is not yet finished. If you are interested you can help us with fixing things on macOS</div><div> </div><blockquote type="cite"><div><div>I have this message :</div><div><div style="margin:0px;"><span style="color:#aa0000;">plugin cannot be loaded for module "QtWebKit": Impossible de charger la bibliothèque /Applications/Qt/5.8/clang_64/qml/QtWebKit/libqmlwebkitplugin.dylib : (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;"><span style="color:#aa0000;">Referenced from: /Applications/Qt/5.8/clang_64/qml/QtWebKit/libqmlwebkitplugin.dylib</span></div><div style="margin:0px;"><span style="color:#aa0000;">Reason: image not found)</span></div></div><div> </div><div>In my Qt installation, I have :</div><div>QyWebKit.framework</div><div>   |_____Version</div><div>|_____Current</div><div>      <span style="white-space:pre;"> </span>|_____5.602.3</div><div>      <span style="white-space:pre;"> </span>|_____Ressources</div><div>      <span style="white-space:pre;"> </span>|_____QtWebKit</div><div>      <span style="white-space:pre;"> </span>|_____Headers</div><div> </div><div> </div><div> </div><div>Maybe change <pre style="margin-top:0px;margin-bottom:0px;"><span style="color:#008000;">#define</span><span style="color:#c0c0c0;"> </span><span style="color:#008000;">QTWEBKIT_VERSION</span><span style="color:#c0c0c0;"> </span><span style="color:#008000;">0x05f00</span>${PROJECT_VERSION_MICRO}</pre><div> </div><div>to point to Current shortcut ?</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 10 févr. 2017 à 20:27, Charles-Elie Gentil &lt;<a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a>&gt; a écrit :</div> <div><div>Sorry, I don’t see all modifications !!!! :-(<div> </div><div>I do a new test.<div><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;"><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 10 févr. 2017 à 20:14, Charles-Elie Gentil &lt;<a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a>&gt; a écrit :</div> <div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255);"><span style="font-variant-ligatures:no-common-ligatures;">Configuring incomplete, errors occurred!</span></div><div> </div><div>But I think that an error with the patch of</div><div><a title="Source/cmake/ECMGeneratePriFile.cmake" href="https://github.com/annulen/webkit/pull/388/files/f1c8914d5aca972879f18c4db2a4978f348375d6#diff-462c2fb6b51367028375382a4b55721b">Source/cmake/ECMGeneratePriFile.cmake</a></div><div> </div>and<div> </div><div><a title="Source/cmake/ECMGeneratePkgConfigFile.cmake" href="https://github.com/annulen/webkit/pull/388/files/f1c8914d5aca972879f18c4db2a4978f348375d6#diff-edfba8c525a826e4adf2be41db348812">Source/cmake/ECMGeneratePkgConfigFile.cmake</a><div><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;"><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 10 févr. 2017 à 18:44, Konstantin Tokarev &lt;<a href="mailto:annulen@yandex.ru">annulen@yandex.ru</a>&gt; a écrit :</div> <div><div> </div><div> </div><div>10.02.2017, 10:33, "Charles-Elie Gentil" &lt;<a href="mailto:mail@jiyuusoft.net">mail@jiyuusoft.net</a>&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 <a href="https://github.com/annulen/webkit/pull/388">https://github.com/annulen/webkit/pull/388</a></div><div> </div><blockquote type="cite"><div><div> </div><div><div><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;"><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></div></blockquote></div></div></div>_______________________________________________<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></div></blockquote></div></div></div>_______________________________________________<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></div></blockquote></div></div></div></div></blockquote><div> </div><div> </div><div>-- <br />Regards,</div><div>Konstantin</div><div> </div>