<div dir="ltr">Hi !! <div><br></div><div>I solved that issue.</div><div><br></div><div>There is a bug in v6.3.0, and it's solved in v7.0.0.</div><div><br></div><div>Thank You.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="arial, helvetica, sans-serif">Regards,</font><div><font face="arial, helvetica, sans-serif">Prajwal</font></div></div></div></div>
<br><div class="gmail_quote">On Mon, Jul 25, 2016 at 12:44 PM, Magnus Elden <span dir="ltr"><<a href="mailto:magnus_elden@hotmail.com" target="_blank">magnus_elden@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Then I have no idea what is causing it. I built and installed Qt as I have told you and then, when building VTK, I left everything to be default. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">The only difference is that I used visual studio 2015. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I am sorry I was unable to help. If I remember something I will contact you. Until then I can only wish you luck.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Yours,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Magnus Elden<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Prajwal Sapare [mailto:<a href="mailto:prajwal.sapare@gmail.com" target="_blank">prajwal.sapare@gmail.com</a>] <br><b>Sent:</b> Monday, 25 July, 2016 11:54<br><b>To:</b> Magnus Elden <<a href="mailto:magnus_elden@hotmail.com" target="_blank">magnus_elden@hotmail.com</a>></span></p><div><div class="h5"><br><b>Subject:</b> Re: [vtkusers] Integration of VTK into QT - VS2013 : CMake Error - Qt5WebKitWidgets<u></u><u></u></div></div><p></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">If I don't skip I do not get errors in build of Qt. But CMAke is looking for Qt Webkit libraries when building VTK. I want to make this thing optional as it is hindering my build.<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">Prajwal<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Mon, Jul 25, 2016 at 2:52 AM, Magnus Elden <<a href="mailto:magnus_elden@hotmail.com" target="_blank">magnus_elden@hotmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Because I assumed you had downloaded the git repository. </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">If you DON’T skip it you get a build error? If you remove just “-skip webkit” and keep skipping webengine and the rest?</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Please give this a read: <a href="https://wiki.qt.io/Building_Qt_5_from_Git" target="_blank">https://wiki.qt.io/Building_Qt_5_from_Git</a></span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Yours,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Magnus Elden</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Prajwal Sapare [mailto:<a href="mailto:prajwal.sapare@gmail.com" target="_blank">prajwal.sapare@gmail.com</a>] <br><b>Sent:</b> Sunday, 24 July, 2016 22:43</span><u></u><u></u></p><div><div><p class="MsoNormal"><br><b>To:</b> Magnus Elden <<a href="mailto:magnus_elden@hotmail.com" target="_blank">magnus_elden@hotmail.com</a>><br><b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br><b>Subject:</b> Re: [vtkusers] Integration of VTK into QT - VS2013 : CMake Error - Qt5WebKitWidgets<u></u><u></u></p></div></div><div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">What do you mean by updating the submodules? How to do that and which submodules?<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Below is error I obtained when using the option -skip webkit<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Error-[Attempting to skip non-existant module]<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"><b>Update: </b>In other system I built 4.7.3 skipping webkit, however, in CMake build for VTK it is again looking for QTWebkit_Library.<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I want to disable this search for QT_Webkit library in CMake. How to do? <u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">Prajwal<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div></div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">On Sun, Jul 24, 2016 at 8:52 PM, Magnus Elden <<a href="mailto:magnus_elden@hotmail.com" target="_blank">magnus_elden@hotmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I built Qt 5.7 using that option. Have you downloaded and updated the submodules? </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">“</span><span style="font-family:"Arial",sans-serif;color:#545454;background:white">-</span><em><b><span style="font-family:"Arial",sans-serif;color:#6a6a6a;background:white;font-style:normal">skip</span></b></em><span style="font-family:"Arial",sans-serif;color:#545454;background:white"> webchannel -</span><em><b><span style="font-family:"Arial",sans-serif;color:#6a6a6a;background:white;font-style:normal">skip webengine</span></b></em><span style="font-family:"Arial",sans-serif;color:#545454;background:white"> -</span><em><b><span style="font-family:"Arial",sans-serif;color:#6a6a6a;background:white;font-style:normal">skip</span></b></em><span style="font-family:"Arial",sans-serif;color:#545454;background:white"> webkit</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">” is what I wrote and it worked for me. What error are you getting?</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Yours,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Magnus Elden</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Prajwal Sapare [mailto:<a href="mailto:prajwal.sapare@gmail.com" target="_blank">prajwal.sapare@gmail.com</a>] <br><b>Sent:</b> Sunday, 24 July, 2016 19:21<br><b>To:</b> Magnus Elden <<a href="mailto:magnus_elden@hotmail.com" target="_blank">magnus_elden@hotmail.com</a>><br><b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br><b>Subject:</b> Re: [vtkusers] Integration of VTK into QT - VS2013 : CMake Error - Qt5WebKitWidgets</span><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">Hello Magnus, vtkusers,<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">The config option u used has webkit option, but I can't use it for Qt5.7.0.<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">The configure options that I actually need to use is, <u></u><u></u></p></div><div><p class="MsoNormal"><b><span style="font-size:10.0pt;color:#444444">configure -debug-and-release -opensource -shared -no-qt3support -qt-sql-sqlite -phonon -phonon-backend -no-webkit -no-script -platform win32-msvc2013</span></b><u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;color:#444444">However, for Qt5.7.0 the options webkit, phonon aren't supported.</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;color:#444444">So I just used, </span><u></u><u></u></p></div><div><p class="MsoNormal"><b><span style="font-size:10.0pt;color:#444444">configure -debug-and-release -opensource -shared -qt-sql-sqlite -platform win32-msvc2013</span></b><u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I wasn't able to disable webkit option to build. How can I do that?<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">Prajwal<u></u><u></u></p></div></div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">On Sun, Jul 24, 2016 at 6:18 PM, Magnus Elden <<a href="mailto:magnus_elden@hotmail.com" target="_blank">magnus_elden@hotmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I built it using configure with commands.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Start visual studio developer command prompt and navigate to the source folder. Then write “configure –skip webkit –skip webengine -skip <all webmodules> -prefix <build dir> -open-source -nomake examples -nomake tests”.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">When the configuration is done you simply run the command “nmake”. You might want to set the platform by writing -platform <your makespec>.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">This should build the entire Qt library WITHOUT the web stuff. Then you can install it by writing “nmake install”.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Later, when building VTK using cmake just link to the install directory if cmake didn’t find it automatically. </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hope this helps.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Yours, </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Magnus Elden</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> vtkusers [mailto:<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>] <b>On Behalf Of </b>Prajwal Sapare<br><b>Sent:</b> Sunday, 24 July, 2016 17:53<br><b>To:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br><b>Subject:</b> [vtkusers] Integration of VTK into QT - VS2013 : CMake Error - Qt5WebKitWidgets</span><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#333333;background:#fafafa">Hello,</span><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#333333"><br><br><span style="background:#fafafa">I am trying to build VTK(6.3.0) into QT 5.7.0. (Windows Platform)</span><br><span style="background:#fafafa">.</span><br><span style="background:#fafafa">I set the source directory and then the build directory and press Configure in Cmake.</span><br><br><span style="background:#fafafa">Error is </span></span><u></u><u></u></p><div style="margin-left:15.0pt;margin-top:3.75pt;margin-right:15.0pt;margin-bottom:15.0pt"><div style="border:solid #566e19 1.0pt;padding:0in 0in 0in 0in;margin-left:7.5pt;margin-right:7.5pt;margin-bottom:7.5pt;border-radius:5px;font-stretch:normal;background-position:initial;background-repeat:initial"><div><p class="MsoNormal" style="background:#e6feb9"><i><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#333333">CMake Error at C:/Qt/5.7.0/qtbase/lib/cmake/Qt5/Qt5Config.cmake:26 (find_package):<br>Could not find a package configuration file provided by "Qt5WebKitWidgets"<br>with any of the following names:<br><br>Qt5WebKitWidgetsConfig.cmake<br>qt5webkitwidgets-config.cmake<br><br>Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or<br>set "Qt5WebKitWidgets_DIR" to a directory containing one of the above<br>files. If "Qt5WebKitWidgets" provides a separate development package or<br>SDK, be sure it has been installed.<br>Call Stack (most recent call first):<br>GUISupport/QtWebkit/CMakeLists.txt:10 (find_package)</span></i><u></u><u></u></p></div></div></div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#333333;background:#fafafa">I am not getting a right solution, and not understanding. To some extent I understood these webkit libraries were available in Qt4 version. However in Qt5 it's been deleted and incorporated into Qt webengine.</span><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#333333"><br><br><span style="background:#fafafa">Any leads to solve this issue is appreciated. I saw some solutions wherein they ask to make qt5Webkit optional in Cmakelists.txt. How should I do that and where will I find CMakelists.txt?</span></span><u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">Prajwal<br><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#333333"><br><span style="background:#fafafa">Regards,</span><br><span style="background:#fafafa">Prajwal</span></span><u></u><u></u></p></div></div></div></div></div></div></blockquote></div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></div></div></blockquote></div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></div></div></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote></div><br></div></div>