[vtk-developers] VTK and QT5 Errors in Windows

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Sun Jun 9 13:16:40 EDT 2013


Hi Andrew,

Qt5 support for VTK 6 has just been integrated. Could you confirm that you
configured VTK as detailed in the commit message ?
See
https://github.com/Kitware/VTK/commit/384636ec9f442db83c8b827d7eabc7ada9ef8d35

Hth
Jc


On Sun, Jun 9, 2013 at 1:30 AM, Andrew Maclean <andrew.amaclean at gmail.com>wrote:

> Just letting you know there is a problem with the QT5 and VTK combination
> in windows.
>
> System: Windows 8
> Compiler VS Express 2012 64-bit.
> QT Version: 5.0.2
> QTDIR=C:\Qt\Qt5.0.2\5.0.2\msvc2012_64\mkspecs
> PATH contains: C:\Qt\Qt5.0.2\5.0.2\msvc2012_64\bin
>
> When configuring VTK on an empty build directory, CMake is unable to find
> mkspecs. Consequently it cannot find qtcore.lib.
>
> So I manually select VTK_QT=5, specify qtcore.lib (debug/release) and then
> generate fails with:
>
> CMake Error at GUISupport/Qt/Testing/Cxx/CMakeLists.txt:21
> (set_target_properties):
>
> set_target_properties called with incorrect number of arguments.
>
>
>
> Build fails with:
> Error 141 error C2371: 'GLdouble' : redefinition; different basic types C:\Program
> Files (x86)\Windows Kits\8.0\Include\um\GL\gl.h 60 1 vtkGUISupportQtOpenGL
>
>
> Regards
>    Andrew
> --
> ___________________________________________
> Andrew J. P. Maclean
>
> ___________________________________________
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>


-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130609/b48a7549/attachment.html>


More information about the vtk-developers mailing list