<div dir="ltr">Hi Tobias,<div><br></div><div>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.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 9, 2015 at 5:29 AM, Tobias Langer <span dir="ltr"><<a href="mailto:langerts@iis.fraunhofer.de" target="_blank">langerts@iis.fraunhofer.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm currently trying to get VTK 6.3 from git and Qt 5.5 working under Windows 7 64 Bit.<br>
However I got stuck in the build process, more presicely when linking the vtkGUISupportQt and the QVTKWidgetPlugin projects.<br>
<br>
The linker complains about unresolved external symbols for methods<br>
of QString, QImage and QItemSelection.<br>
<br>
My setup is:<br>
- Microsoft Visual Studio 2015 (using the VTK sources from git, I can compile VTK without errors for snprintf being redefined)<br>
- Qt 5.5<br>
- CMake 3.2.3<br>
<br>
I configure the project with cmake-gui:<br>
- VTK_Group_Qt = true<br>
- Qt5-DIR = C:/Qt/Qt5.5.0/5.5/msvc2013_64/lib/cmake/Qt5<br>
- Qt5Xml-DIR = C:/Qt/Qt5.5.0/5.5/msvc2013_64/lib/cmake/Qt5Xml<br>
- ... (The same as above for the other modules)<br>
- QT_QMAKE_EXECUTABLE = C:/Qt/Qt5.5.0/5.5/msvc2013_64/bin/qmake.exe<br>
<br>
These paths should be correct and as far as I have tested other (own) Qt applications, my Qt installation should work as well.<br>
<br>
Do I have problems in my cmake settings / paths or is there no support for Qt5.5 yet?<br>
<br>
-- <br>
Tobias Langer<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>