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
Quote:
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.
Regards,
Prajwal
Re: integration of VTK into QT - VS2013 : CMake Error - Qt5WebKitWidgets
If the library you are compiling needs QtWebKitWidgets you either need to use a Qt version that has them by default (e.g. Qt5.5) or get the sources of that module and build it yourself.
Or you try to get a version of the library that does not need them.
Or you check if the library can be built without them (could be an optinal feature)
Cheers,
_
Re: integration of VTK into QT - VS2013 : CMake Error - Qt5WebKitWidgets
Thank You. Well Qt 5.5 is a good option.
But I am also looking for an option to disable this feature, so that Cmake build does not look for those libraries.
Hope I find those options.
Re: integration of VTK into QT - VS2013 : CMake Error - Qt5WebKitWidgets
For VTK-7.0.0 in CMake-GUI, uncheck "Module_vtkGUISupportQtWebkit". CMake will then ignore the "Qt5WebKitWidgets_DIR-NOTFOUND" warning. In my Qt 5.7 install (Windows, VS 2013) , there -is- a Qt5WebKit directory, but no Qt5WebKitWidgets directory. I don't need WebKit support, so I did not try to build Qt5WebKitWidgets from source.