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

Prajwal Sapare prajwal.sapare at gmail.com
Tue Jul 26 05:46:38 EDT 2016


Hi !!

I solved that issue.

There is a bug in v6.3.0, and it's solved in v7.0.0.

Thank You.

Regards,
Prajwal

On Mon, Jul 25, 2016 at 12:44 PM, Magnus Elden <magnus_elden at hotmail.com>
wrote:

> 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.
>
> The only difference is that I used visual studio 2015.
>
>
>
> I am sorry I was unable to help. If I remember something I will contact
> you. Until then I can only wish you luck.
>
>
>
> Yours,
>
> Magnus Elden
>
>
>
> *From:* Prajwal Sapare [mailto:prajwal.sapare at gmail.com]
> *Sent:* Monday, 25 July, 2016 11:54
> *To:* Magnus Elden <magnus_elden at hotmail.com>
>
> *Subject:* Re: [vtkusers] Integration of VTK into QT - VS2013 : CMake
> Error - Qt5WebKitWidgets
>
>
>
> 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.
>
>
>
> Regards,
>
> Prajwal
>
>
>
> On Mon, Jul 25, 2016 at 2:52 AM, Magnus Elden <magnus_elden at hotmail.com>
> wrote:
>
> Because I assumed you had downloaded the git repository.
>
>
>
> If you DON’T skip it you get a build error? If you remove just “-skip
> webkit” and keep skipping webengine and the rest?
>
>
>
> Please give this a read: https://wiki.qt.io/Building_Qt_5_from_Git
>
>
>
> Yours,
>
> Magnus Elden
>
>
>
> *From:* Prajwal Sapare [mailto:prajwal.sapare at gmail.com]
> *Sent:* Sunday, 24 July, 2016 22:43
>
>
> *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
>
>
>
> What do you mean by updating the submodules? How to do that and which
> submodules?
>
>
>
> Below is error I obtained when using the option -skip webkit
>
>
>
> Error-[Attempting to skip non-existant module]
>
>
>
> *Update: *In other system I built 4.7.3 skipping webkit, however, in
> CMake build for VTK it is again looking for QTWebkit_Library.
>
>
>
> I want to disable this search for QT_Webkit library in CMake. How to do?
>
>
>
> Regards,
>
> Prajwal
>
>
>
>
>
> On Sun, Jul 24, 2016 at 8:52 PM, Magnus Elden <magnus_elden at hotmail.com>
> wrote:
>
> 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>
> 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/20160726/add8e269/attachment.html>


More information about the vtkusers mailing list