[vtk-developers] VTK 6 VTKWidgetPlugin issues with Qt 4.8.5 on Windows (64-bit)

Aaron Knoll knolla at tacc.utexas.edu
Tue Aug 20 17:23:09 EDT 2013


Hi, I've been getting the following linker errors whenever I build VTK 6.0 with Qt (4.8.5) support.

I'm using Visual Studio 12 (version 11) and Qt 4.8.5 (windows binaries). I'm building for x64 in Release.

For the life of me I can't get Qt (4.8.5) and VTK (6.0) to play nice on Windows.

Visual studio gets these linker errors, even when I manually add in the right library files (libQtDesigner4.a, etc.).

Q4VTKWidgetPlugin.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl qFree(void *)" (__imp_?qFree@@YAXPEAX at Z) referenced in function "public: __cdecl QList<class QDesignerCustomWidgetInterface *>::~QList<class QDesignerCustomWidgetInterface *>(void)" (??1?$QList at PEAVQDesignerCustomWidgetInterface@@@@QEAA at XZ)

As far as we can tell, it is looking for symbols in libQtCore and not finding them. QtCore is among the libraries being linked to in the VS project settings.

Has anyone encountered this before?

-Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130820/5d338402/attachment.html>


More information about the vtk-developers mailing list