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

Prajwal Sapare prajwal.sapare at gmail.com
Sun Jul 24 13:20:34 EDT 2016


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>
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] *On Behalf Of *Prajwal
> Sapare
> *Sent:* Sunday, 24 July, 2016 17:53
> *To:* 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.cmakeqt5webkitwidgets-config.cmakeAdd the
> installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH orset
> "Qt5WebKitWidgets_DIR" to a directory containing one of the abovefiles. If
> "Qt5WebKitWidgets" provides a separate development package orSDK, 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/3f17e737/attachment.html>


More information about the vtkusers mailing list