[vtkusers] Integration of VTK into QT - VS2013 : CMake Error - Qt5WebKitWidgets

Magnus Elden magnus_elden at hotmail.com
Sun Jul 24 14:52:34 EDT 2016


I built Qt 5.7 using that option. Have you downloaded and updated the submodules? 

 

“-skip webchannel -skip webengine -skip webkit” is what I wrote and it worked for me. What error are you getting?

 

Yours,

Magnus Elden

 

From: Prajwal Sapare [mailto:prajwal.sapare at gmail.com] 
Sent: Sunday, 24 July, 2016 19:21
To: Magnus Elden <magnus_elden at hotmail.com>
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Integration of VTK into QT - VS2013 : CMake Error - Qt5WebKitWidgets

 

Hello Magnus, vtkusers,

 

The config option u used has webkit option, but I can't use it for Qt5.7.0.

 

The configure options that I actually need to use is, 

configure -debug-and-release -opensource -shared -no-qt3support -qt-sql-sqlite -phonon -phonon-backend -no-webkit -no-script -platform win32-msvc2013

 

However, for Qt5.7.0 the options webkit, phonon aren't supported.

So I just used, 

configure -debug-and-release -opensource -shared -qt-sql-sqlite -platform win32-msvc2013

 

I wasn't able to disable webkit option to build. How can I do that?

 

 

Regards,

Prajwal

 

On Sun, Jul 24, 2016 at 6:18 PM, Magnus Elden <magnus_elden at hotmail.com <mailto:magnus_elden at hotmail.com> > wrote:

I built it using configure with commands.

 

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”.

 

When the configuration is done you simply run the command “nmake”. You might want to set the platform by writing -platform <your makespec>.

 

This should build the entire Qt library WITHOUT the web stuff. Then you can install it by writing “nmake install”.

 

Later, when building VTK using cmake just link to the install directory if cmake didn’t find it automatically. 

 

Hope this helps.

 

Yours, 

Magnus Elden

 

From: vtkusers [mailto:vtkusers-bounces at vtk.org <mailto:vtkusers-bounces at vtk.org> ] On Behalf Of Prajwal Sapare
Sent: Sunday, 24 July, 2016 17:53
To: vtkusers at vtk.org <mailto:vtkusers at vtk.org> 
Subject: [vtkusers] Integration of VTK into QT - VS2013 : CMake Error - Qt5WebKitWidgets

 

Hello,

I am trying to build VTK(6.3.0) into QT 5.7.0. (Windows Platform)
.
I set the source directory and then the build directory and press Configure in Cmake.

Error is 

CMake Error at C:/Qt/5.7.0/qtbase/lib/cmake/Qt5/Qt5Config.cmake:26 (find_package):
Could not find a package configuration file provided by "Qt5WebKitWidgets"
with any of the following names:

Qt5WebKitWidgetsConfig.cmake
qt5webkitwidgets-config.cmake

Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
files. If "Qt5WebKitWidgets" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
GUISupport/QtWebkit/CMakeLists.txt:10 (find_package)

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.

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?

 

Regards,

Prajwal

Regards,
Prajwal

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160724/cd74c556/attachment.html>


More information about the vtkusers mailing list