[vtkusers] Linking Problems with VTK 6.3 and Qt 5.5

Tobias Langer langerts at iis.fraunhofer.de
Wed Sep 9 05:29:21 EDT 2015


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


More information about the vtkusers mailing list