<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Yu Gothic";
panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@Yu Gothic";
panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>I built it using configure with commands.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></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”.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></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>.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></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”.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></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. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Hope this helps.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Yours, <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Magnus Elden<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></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'> vtkusers [mailto:vtkusers-bounces@vtk.org] <b>On Behalf Of </b>Prajwal Sapare<br><b>Sent:</b> Sunday, 24 July, 2016 17:53<br><b>To:</b> vtkusers@vtk.org<br><b>Subject:</b> [vtkusers] Integration of VTK into QT - VS2013 : CMake Error - Qt5WebKitWidgets<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></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><o:p></o:p></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)<o:p></o:p></span></i></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><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Regards,<o:p></o:p></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><o:p></o:p></p></div></div></div></body></html>