[vtkusers] Linking Problems with VTK 6.3 and Qt 5.5

Robert Maynard robert.maynard at kitware.com
Wed Sep 9 09:04:49 EDT 2015


Hi Tobias,

You need to make sure that the Visual Studio version you use to compile VTK
matches the one that Qt was built against. In this case you need to either
build VTK with VS2013, or build Qt from source with VS2015.

On Wed, Sep 9, 2015 at 5:29 AM, Tobias Langer <langerts at iis.fraunhofer.de>
wrote:

> Hi,
>
> I'm currently trying to get VTK 6.3 from git and Qt 5.5 working under
> Windows 7 64 Bit.
> However I got stuck in the build process, more presicely when linking the
> vtkGUISupportQt and the QVTKWidgetPlugin projects.
>
> The linker complains about unresolved external symbols for methods
> of QString, QImage and QItemSelection.
>
> My setup is:
> - Microsoft Visual Studio 2015 (using the VTK sources from git, I can
> compile VTK without errors for snprintf being redefined)
> - Qt 5.5
> - CMake 3.2.3
>
> I configure the project with cmake-gui:
> - VTK_Group_Qt = true
> - Qt5-DIR = C:/Qt/Qt5.5.0/5.5/msvc2013_64/lib/cmake/Qt5
> - Qt5Xml-DIR = C:/Qt/Qt5.5.0/5.5/msvc2013_64/lib/cmake/Qt5Xml
> - ... (The same as above for the other modules)
> - QT_QMAKE_EXECUTABLE = C:/Qt/Qt5.5.0/5.5/msvc2013_64/bin/qmake.exe
>
> These paths should be correct and as far as I have tested other (own) Qt
> applications, my Qt installation should work as well.
>
> Do I have problems in my cmake settings / paths or is there no support for
> Qt5.5 yet?
>
> --
> Tobias Langer
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150909/d5e4a9c0/attachment.html>


More information about the vtkusers mailing list